projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
911e7a9
)
Fix KeyError constructor style.
author
Zac Medico
<zmedico@gentoo.org>
Wed, 25 Jun 2008 22:39:00 +0000
(22:39 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 25 Jun 2008 22:39:00 +0000
(22:39 -0000)
svn path=/main/trunk/; revision=10792
pym/portage/cache/mappings.py
patch
|
blob
|
history
diff --git
a/pym/portage/cache/mappings.py
b/pym/portage/cache/mappings.py
index 19673e36ed8b408c007d2bdfe1c1546c8f547deb..e971177a4052192b48593a517a2166d70596db90 100644
(file)
--- 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)