pkgset: Only use package whitelist if enabled
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
ef058d1f9b
commit
cc8c7a702c
@ -369,7 +369,7 @@ class KojiPackageSet(PackageSetBase):
|
||||
result_srpms.append((rpm_info, build_info))
|
||||
else:
|
||||
result_rpms.append((rpm_info, build_info))
|
||||
if self.packages:
|
||||
if self.populate_only_packages and self.packages:
|
||||
# Only add the package if we already have some whitelist.
|
||||
self.packages.add(build_info['name'])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user