diff options
author | 2012-10-17 09:01:47 -0400 | |
---|---|---|
committer | 2012-10-17 09:01:47 -0400 | |
commit | a2abfee1fa404d1bc711eeca2335433a6037129b (patch) | |
tree | 062c0596f7661b8940ee943466387ff3258bd9d1 /packages-inheriting-eclasses.py | |
parent | portqa: Allow email addresses to be passed as argument and assume --maintaine... (diff) | |
download | qa-scripts-a2abfee1fa404d1bc711eeca2335433a6037129b.tar.gz qa-scripts-a2abfee1fa404d1bc711eeca2335433a6037129b.tar.bz2 qa-scripts-a2abfee1fa404d1bc711eeca2335433a6037129b.zip |
Add patch from Michał Górny for packages-inheriting-eclasses. Closes
Bug 438506.
Diffstat (limited to 'packages-inheriting-eclasses.py')
-rwxr-xr-x | packages-inheriting-eclasses.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages-inheriting-eclasses.py b/packages-inheriting-eclasses.py index 0e88c42..c2ae5ae 100755 --- a/packages-inheriting-eclasses.py +++ b/packages-inheriting-eclasses.py @@ -16,7 +16,7 @@ def main(argv): output = collections.defaultdict(set) for p in portdir: - for eclass in p.data['_eclasses_']: + for eclass in p.data.get('_eclasses_', ()): output[eclass].add('%s/%s\n' % (p.category, p.PN)) try: |