Merge pull request #45 from openSUSE/coolo_fix_non_groups

we need to check requests not in group too - on their own
This commit is contained in:
Michal Hrušecký 2014-02-19 12:58:12 +01:00
commit 254d8bb8e7

View File

@ -1105,7 +1105,9 @@ def do_check_repo(self, subcmd, opts, *args):
groups = {}
for p in packs:
if not p.group: continue
if not p.group: # a group on its own
groups[p.request] = [p]
continue
a = groups.get(p.group, [])
a.append(p)
groups[p.group] = a