diff options
author | Lars Wirzenius <liw@liw.fi> | 2016-02-14 15:40:37 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2016-02-14 15:40:37 +0200 |
commit | dd374298f11ecfef993dd642ca04ac6555b93fea (patch) | |
tree | 36dbf6f2fd73bb6e98bb8f32449a32e835ace8b2 | |
parent | b2b32b4fee0a276cad18be54436c2ff07274f2c3 (diff) | |
download | ick-dd374298f11ecfef993dd642ca04ac6555b93fea.tar.gz |
Unquote file:// URLs given to dget
Dget does not seem to be doing the unquoting itself.
-rw-r--r-- | icklib/project.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/icklib/project.py b/icklib/project.py index 4452cf9..a09da23 100644 --- a/icklib/project.py +++ b/icklib/project.py @@ -990,6 +990,8 @@ class UploadDebianPackages(icklib.BuildStep): line_logger = LineLogger( self.run_state.progress, self.run_state.logger) for changes_url in self.run_state.changes_files: + # dget doesn't URL-decode file:// URLs. So we do that. + changes_url = urllib.unquote(changes_url) cliapp.runcmd( ['dget', '-du', changes_url], cwd=incoming, |