summaryrefslogtreecommitdiff
path: root/pym
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 /pym
parentportage_versions.py, more string.atoi -> int, fix another except: that should... (diff)
downloadportage-multirepo-392dcf713d51bd9678c2e726d1b1ed58f9f1d583.tar.gz
portage-multirepo-392dcf713d51bd9678c2e726d1b1ed58f9f1d583.tar.bz2
portage-multirepo-392dcf713d51bd9678c2e726d1b1ed58f9f1d583.zip
Fix broad except statement, should only be KeyError
svn path=/main/trunk/; revision=5583
Diffstat (limited to 'pym')
-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 b0f82fd0..91b98fec 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