Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-commits
Author: zmedico
Date: 2008-07-28 07:51:12 +0000 (Mon, 28 Jul 2008)
New Revision: 11234
Modified:
main/trunk/pym/portage/cache/mappings.py
Log:
Fix arg count when constructing a TypeError in the SlotDict constructor.
Modified: main/trunk/pym/portage/cache/mappings.py
===================================================================
--- main/trunk/pym/portage/cache/mappings.py 2008-07-28 07:08:01 UTC (rev 11233)
+++ main/trunk/pym/portage/cache/mappings.py 2008-07-28 07:51:12 UTC (rev 11234)
@@ -147,7 +147,7 @@
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])
|
|