summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/eclass_cache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/eclass_cache.py b/pym/eclass_cache.py
index b0f82fd02..91b98fec5 100644
--- a/pym/eclass_cache.py
+++ b/pym/eclass_cache.py
@@ -72,7 +72,7 @@ class cache:
for x in inherits:
try:
ec_dict[x] = self.eclasses[x]
- except:
+ except KeyError:
print "ec=",ec_dict
print "inherits=",inherits
raise