diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-06-25 22:39:00 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-06-25 22:39:00 +0000 |
commit | f29290f91175fa3704287afb99d14d78db783545 (patch) | |
tree | 993833506399f1dc84b50f3d577c51f8960d08b6 | |
parent | 911e7a9bcbd5ac41e1d5649a12967ae63171dac3 (diff) | |
download | portage-f29290f91175fa3704287afb99d14d78db783545.tar.gz portage-f29290f91175fa3704287afb99d14d78db783545.tar.bz2 portage-f29290f91175fa3704287afb99d14d78db783545.zip |
Fix KeyError constructor style.
svn path=/main/trunk/; revision=10792
-rw-r--r-- | pym/portage/cache/mappings.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/cache/mappings.py b/pym/portage/cache/mappings.py index 19673e36e..e971177a4 100644 --- a/pym/portage/cache/mappings.py +++ b/pym/portage/cache/mappings.py @@ -208,7 +208,7 @@ def slot_dict_class(keys): try: k, v = self.iteritems().next() except StopIteration: - raise KeyError, 'container is empty' + raise KeyError('container is empty') del self[k] return (k, v) |