diff options
author | Zac Medico <zmedico@gentoo.org> | 2013-04-22 09:35:27 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2013-04-22 09:35:27 -0700 |
commit | a0cd7cf0191f27589dd2504dd6ab55199b78e7c7 (patch) | |
tree | 89082869032fbfdc5062bae536f8ff9a967dc520 /pym | |
parent | bin/ebuild: tweak FEATURES=digest logic (diff) | |
download | portage-a0cd7cf0191f27589dd2504dd6ab55199b78e7c7.tar.gz portage-a0cd7cf0191f27589dd2504dd6ab55199b78e7c7.tar.bz2 portage-a0cd7cf0191f27589dd2504dd6ab55199b78e7c7.zip |
search: fix RuntimeError: No active exception
Diffstat (limited to 'pym')
-rw-r--r-- | pym/_emerge/search.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/_emerge/search.py b/pym/_emerge/search.py index 5abc8a00c..bd74fb7b1 100644 --- a/pym/_emerge/search.py +++ b/pym/_emerge/search.py @@ -1,4 +1,4 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 from __future__ import print_function @@ -69,7 +69,7 @@ class search(object): return db.aux_get(*args, **kwargs) except KeyError: pass - raise + raise KeyError(args[0]) def _findname(self, *args, **kwargs): for db in self._dbs: |