pullpkg.py: fix --mirror option parsing.

This commit is contained in:
Dimitri John Ledkov 2021-01-18 22:06:17 +00:00
parent d3a7eac62f
commit 6cc8040510
No known key found for this signature in database
GPG Key ID: 9B8EC849D5EF70ED
2 changed files with 4 additions and 1 deletions

3
debian/changelog vendored
View File

@ -19,6 +19,9 @@ ubuntu-dev-tools (0.178) UNRELEASED; urgency=medium
+ Limit bug description length to 50k chars to support Launchpad's limits. + Limit bug description length to 50k chars to support Launchpad's limits.
LP: #1193941 LP: #1193941
[ Dimitri John Ledkov ]
* pullpkg.py: fix --mirror option parsing.
-- Mattia Rizzolo <mattia@debian.org> Tue, 22 Dec 2020 17:50:52 +0100 -- Mattia Rizzolo <mattia@debian.org> Tue, 22 Dec 2020 17:50:52 +0100
ubuntu-dev-tools (0.177) unstable; urgency=medium ubuntu-dev-tools (0.177) unstable; urgency=medium

View File

@ -344,7 +344,7 @@ class PullPkg(object):
mirrors = [] mirrors = []
if options['mirror']: if options['mirror']:
mirrors.append(options['mirror']) mirrors.extend(options['mirror'])
if pull == PULL_DDEBS: if pull == PULL_DDEBS:
config = UDTConfig(options['no_conf']) config = UDTConfig(options['no_conf'])
ddebs_mirror = config.get_value(distro.upper() + '_DDEBS_MIRROR') ddebs_mirror = config.get_value(distro.upper() + '_DDEBS_MIRROR')