Skip to content

Commit

Permalink
Merge pull request #58 from hlin/fix-compose-3377
Browse files Browse the repository at this point in the history
Fix positive overrides ignored issue
  • Loading branch information
hlin authored Mar 18, 2019
2 parents a595244 + 6e0a825 commit c354142
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion product_listings_manager/products.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# koji hub plugin

import copy
import koji
import pgdb
import re
Expand Down Expand Up @@ -244,7 +245,7 @@ def dest_get_archs(compose_dbh, trees, src_arch, names, cache_entry, version=Non
for name in names:
# use cached map entry if there are no records from treetables
if koji.is_debuginfo(name) and not ret.get(name, {}):
ret[name] = cache_entry
ret[name] = copy.deepcopy(cache_entry)

if overrides and name in overrides and src_arch in overrides[name] and not version:
for tree_arch, include in overrides[name][src_arch].items():
Expand Down

0 comments on commit c354142

Please sign in to comment.