diff options
author | Alec Warner <antarus@gentoo.org> | 2007-01-12 03:51:53 +0000 |
---|---|---|
committer | Alec Warner <antarus@gentoo.org> | 2007-01-12 03:51:53 +0000 |
commit | 392dcf713d51bd9678c2e726d1b1ed58f9f1d583 (patch) | |
tree | f7c878c196c43f14bd91f6f9c6a5feefe72ae122 | |
parent | d1e3d2c9d365a89a3f10f544088eec3cf714d849 (diff) | |
download | portage-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.py | 2 |
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 |