diff --git a/debian/changelog b/debian/changelog index ea397be..ac1ce83 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,10 +1,15 @@ ubuntu-dev-tools (0.108) UNRELEASED; urgency=low + [ Stefano Rivera ] * lp-shell, import-bug-from-debian: Use the 'production' LP instance instead of 'edge' (which is going away). * pbuilder-dist: Fix typo in local archive support, introduced in 0.107. - -- Stefano Rivera 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 Tue, 14 Dec 2010 18:21:37 +0100 ubuntu-dev-tools (0.107) experimental; urgency=low diff --git a/pull-lp-source b/pull-lp-source index becb827..b6c6911 100755 --- a/pull-lp-source +++ b/pull-lp-source @@ -28,6 +28,7 @@ import os import sys import subprocess +import urllib from optparse import OptionParser # ubuntu-dev-tools modules. @@ -78,7 +79,7 @@ if __name__ == '__main__': # All good - start downloading... print 'Fetching the source for %s from %s (%s)...' % ( 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!' else: print 'Failed to fetch and extrace the source.', \