mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-12 23:51:08 +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 sys
|
||||
import tempfile
|
||||
import urllib
|
||||
|
||||
from debian.deb822 import Dsc
|
||||
import launchpadlib.launchpad
|
||||
@ -143,7 +144,7 @@ def fetch_package(workdir, package, opts):
|
||||
check_call(['dget',
|
||||
'--download-only',
|
||||
'--allow-unauthenticated',
|
||||
f],
|
||||
urllib.unquote(f)],
|
||||
cwd=workdir)
|
||||
return os.path.join(workdir, os.path.basename(f))
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user