mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-06-06 05:21:28 +00:00
pull-lp-source: Unquote URI to get "+" instead of "%2B" in the file name
(LP: #681114).
This commit is contained in:
parent
6e214de3b3
commit
4e7c58085e
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,10 +1,15 @@
|
|||||||
ubuntu-dev-tools (0.108) UNRELEASED; urgency=low
|
ubuntu-dev-tools (0.108) UNRELEASED; urgency=low
|
||||||
|
|
||||||
|
[ Stefano Rivera ]
|
||||||
* lp-shell, import-bug-from-debian:
|
* lp-shell, import-bug-from-debian:
|
||||||
Use the 'production' LP instance instead of 'edge' (which is going away).
|
Use the 'production' LP instance instead of 'edge' (which is going away).
|
||||||
* pbuilder-dist: Fix typo in local archive support, introduced in 0.107.
|
* pbuilder-dist: Fix typo in local archive support, introduced in 0.107.
|
||||||
|
|
||||||
-- Stefano Rivera <stefanor@ubuntu.com> Sat, 11 Dec 2010 12:33:37 +0200
|
[ Benjamin Drung ]
|
||||||
|
* pull-lp-source: Unquote URI to get "+" instead of "%2B" in the file name
|
||||||
|
(LP: #681114).
|
||||||
|
|
||||||
|
-- Benjamin Drung <bdrung@ubuntu.com> Tue, 14 Dec 2010 18:21:37 +0100
|
||||||
|
|
||||||
ubuntu-dev-tools (0.107) experimental; urgency=low
|
ubuntu-dev-tools (0.107) experimental; urgency=low
|
||||||
|
|
||||||
|
@ -28,6 +28,7 @@
|
|||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import subprocess
|
import subprocess
|
||||||
|
import urllib
|
||||||
from optparse import OptionParser
|
from optparse import OptionParser
|
||||||
|
|
||||||
# ubuntu-dev-tools modules.
|
# ubuntu-dev-tools modules.
|
||||||
@ -78,7 +79,7 @@ if __name__ == '__main__':
|
|||||||
# All good - start downloading...
|
# All good - start downloading...
|
||||||
print 'Fetching the source for %s from %s (%s)...' % (
|
print 'Fetching the source for %s from %s (%s)...' % (
|
||||||
package, release.capitalize(), pocket)
|
package, release.capitalize(), pocket)
|
||||||
if subprocess.call(['/usr/bin/dget', '-xu', dsc_url[0]]) == 0:
|
if subprocess.call(['/usr/bin/dget', '-xu', urllib.unquote(dsc_url[0])]) == 0:
|
||||||
print 'Success!'
|
print 'Success!'
|
||||||
else:
|
else:
|
||||||
print 'Failed to fetch and extrace the source.', \
|
print 'Failed to fetch and extrace the source.', \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user