Skip to content

Commit 327cd77

Browse files
authored
Merge pull request #87 from hlin/master
Fix 'dictionary changed size during iteration' issue
2 parents 475352f + 4b5dbde commit 327cd77

2 files changed

Lines changed: 10 additions & 8 deletions

File tree

product_listings_manager/products.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ def getProductListings(productLabel, buildInfo):
287287
for dest_arch in dest_archs:
288288
listings.setdefault(variant, {}).setdefault(rpm['nvr'], {}).setdefault(rpm['arch'], []).append(dest_arch)
289289

290-
for variant in listings.keys():
290+
for variant in list(listings.keys()):
291291
nvrs = list(listings[variant].keys())
292292
# BREW-260: Read allow_src_only flag for the product/version
293293
allow_src_only = Products.get_srconly_flag(productLabel, version)

setup.py

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,15 @@ def read_module_contents():
2121
name="product-listings-manager",
2222
version=version,
2323
description='query product listings data in composedb',
24-
classifiers=['Development Status :: 4 - Beta',
25-
'License :: OSI Approved :: MIT License',
26-
'Intended Audience :: Developers',
27-
'Operating System :: POSIX',
28-
'Programming Language :: Python',
29-
'Topic :: Software Development',
30-
],
24+
classifiers=[
25+
'Development Status :: 5 - Production/Stable',
26+
'License :: OSI Approved :: MIT License',
27+
'Intended Audience :: Developers',
28+
'Operating System :: POSIX',
29+
'Programming Language :: Python',
30+
'Programming Language :: Python :: 3',
31+
'Topic :: Software Development',
32+
],
3133
keywords='product compose',
3234
author='Ken Dreyer',
3335
author_email='kdreyer@redhat.com',

0 commit comments

Comments
 (0)