backportpackage: Unquote URLs we get back from LP

This commit is contained in:
Evan Broder 2010-12-15 11:00:02 -08:00
parent ee157d1cd9
commit 899139ba99

View File

@ -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: