summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2007-01-12 03:51:53 +0000
committerAlec Warner <antarus@gentoo.org>2007-01-12 03:51:53 +0000
commit392dcf713d51bd9678c2e726d1b1ed58f9f1d583 (patch)
treef7c878c196c43f14bd91f6f9c6a5feefe72ae122
parentd1e3d2c9d365a89a3f10f544088eec3cf714d849 (diff)
downloadportage-392dcf713d51bd9678c2e726d1b1ed58f9f1d583.tar.gz
portage-392dcf713d51bd9678c2e726d1b1ed58f9f1d583.tar.bz2
portage-392dcf713d51bd9678c2e726d1b1ed58f9f1d583.zip
Fix broad except statement, should only be KeyError
svn path=/main/trunk/; revision=5583
-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