archive.py: Evaluate the filter() fixing syncpackage.

This commit is contained in:
Stefano Rivera 2021-01-29 22:18:22 -07:00
parent e54a13743c
commit 90cb51becb
2 changed files with 7 additions and 1 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
ubuntu-dev-tools (0.179) UNRELEASED; urgency=medium
* archive.py: Evaluate the filter() fixing syncpackage.
-- Stefano Rivera <stefanor@debian.org> Fri, 29 Jan 2021 22:17:42 -0700
ubuntu-dev-tools (0.178) unstable; urgency=medium ubuntu-dev-tools (0.178) unstable; urgency=medium
[ Dan Streetman ] [ Dan Streetman ]

View File

@ -167,7 +167,7 @@ class SourcePackage(object):
UDTConfig.defaults.get('%s_%s' % UDTConfig.defaults.get('%s_%s' %
(self.distribution.upper(), (self.distribution.upper(),
suffix))) suffix)))
self.masters = filter(None, masters) self.masters = list(filter(None, masters))
# if a dsc was specified, pull it to get the source/version info # if a dsc was specified, pull it to get the source/version info
if self._dsc_source: if self._dsc_source: