mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 08:01:09 +00:00
pullpkg: provide dst to download()
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
This commit is contained in:
parent
a26a154bc9
commit
58ca95e719
@ -557,7 +557,7 @@ class PullPkg(object):
|
||||
if not urls:
|
||||
Logger.error("No source files to download")
|
||||
for url in urls:
|
||||
download(url)
|
||||
download(url, os.getcwd())
|
||||
else:
|
||||
name = '.*'
|
||||
if pull == PULL_DEBS:
|
||||
@ -575,4 +575,4 @@ class PullPkg(object):
|
||||
for url in urls:
|
||||
filename = os.path.basename(urlparse(url).path)
|
||||
if re.match(name, filename):
|
||||
download(url)
|
||||
download(url, os.getcwd())
|
||||
|
Loading…
x
Reference in New Issue
Block a user