Show which modules are available in module group details

Also process modules as sets to avoid duplicates.

Change-Id: I5f09af93b60e3610145f9c4221d47bf2e2ef3a38
This commit is contained in:
Ilya Shakhat
2015-10-19 16:24:14 +03:00
parent 5549ead1e4
commit fa0b8ec9d4
9 changed files with 49 additions and 38 deletions

View File

@@ -263,7 +263,7 @@ def process_project_list(runtime_storage_inst):
for module in module_groups['openstack']['modules']:
for r, off_m in six.iteritems(official):
if module not in off_m:
others['releases'][r].append(module)
others['releases'][r].add(module)
# register modules as module groups
repos = runtime_storage_inst.get_by_key('repos') or []