projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45af316
)
Fix arg count when constructing a TypeError in the SlotDict constructor.
author
Zac Medico
<zmedico@gentoo.org>
Mon, 28 Jul 2008 07:51:12 +0000
(07:51 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 28 Jul 2008 07:51:12 +0000
(07:51 -0000)
svn path=/main/trunk/; revision=11234
pym/portage/cache/mappings.py
patch
|
blob
|
history
diff --git
a/pym/portage/cache/mappings.py
b/pym/portage/cache/mappings.py
index 75f97d6aed8f7468de81a172d1066595cbe92a9b..96e9e553b9a12e0089dd832ea543d01163a7e1a0 100644
(file)
--- a/
pym/portage/cache/mappings.py
+++ b/
pym/portage/cache/mappings.py
@@
-147,7
+147,7
@@
def slot_dict_class(keys, prefix="_val_"):
if len(args) > 1:
raise TypeError(
"expected at most 1 positional argument, got " + \
- repr(
1 +
len(args)))
+ repr(len(args)))
if args:
self.update(args[0])