aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDane Smith <c1pher@gentoo.org>2012-10-17 09:01:47 -0400
committerDane Smith <c1pher@gentoo.org>2012-10-17 09:01:47 -0400
commita2abfee1fa404d1bc711eeca2335433a6037129b (patch)
tree062c0596f7661b8940ee943466387ff3258bd9d1
parentportqa: Allow email addresses to be passed as argument and assume --maintaine... (diff)
downloadqa-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.
-rwxr-xr-xpackages-inheriting-eclasses.py2
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: