projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1e3d2c
)
Fix broad except statement, should only be KeyError
author
Alec Warner
<antarus@gentoo.org>
Fri, 12 Jan 2007 03:51:53 +0000
(
03:51
-0000)
committer
Alec Warner
<antarus@gentoo.org>
Fri, 12 Jan 2007 03:51:53 +0000
(
03:51
-0000)
svn path=/main/trunk/; revision=5583
pym/eclass_cache.py
patch
|
blob
|
history
diff --git
a/pym/eclass_cache.py
b/pym/eclass_cache.py
index b0f82fd02661cd56c007d3ad2edd40f38bb3c202..91b98fec5902ff3df18f1754682d97b78b78017f 100644
(file)
--- 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