mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 08:01:09 +00:00
backportpackage: Unquote URLs we get back from LP
This commit is contained in:
parent
ee157d1cd9
commit
899139ba99
@ -21,6 +21,7 @@ import shutil
|
|||||||
import subprocess
|
import subprocess
|
||||||
import sys
|
import sys
|
||||||
import tempfile
|
import tempfile
|
||||||
|
import urllib
|
||||||
|
|
||||||
from debian.deb822 import Dsc
|
from debian.deb822 import Dsc
|
||||||
import launchpadlib.launchpad
|
import launchpadlib.launchpad
|
||||||
@ -143,7 +144,7 @@ def fetch_package(workdir, package, opts):
|
|||||||
check_call(['dget',
|
check_call(['dget',
|
||||||
'--download-only',
|
'--download-only',
|
||||||
'--allow-unauthenticated',
|
'--allow-unauthenticated',
|
||||||
f],
|
urllib.unquote(f)],
|
||||||
cwd=workdir)
|
cwd=workdir)
|
||||||
return os.path.join(workdir, os.path.basename(f))
|
return os.path.join(workdir, os.path.basename(f))
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user