summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/cache/mappings.py2
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)