Gentoo Logo
Gentoo Spaceship




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
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Zac Medico (zmedico)" <zmedico@g.o>
Subject: portage r11234 - main/trunk/pym/portage/cache
Date: Mon, 28 Jul 2008 07:51:13 +0000
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])



Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
gentoo-x86 commit in dev-perl/Perl-Critic: ChangeLog Perl-Critic-1.090.ebuild
Next by thread:
gentoo-x86 commit in dev-perl/Test-Tester: Test-Tester-0.107.ebuild ChangeLog
Previous by date:
gentoo-x86 commit in x11-plugins/wmpop: wmpop-0.53.ebuild ChangeLog
Next by date:
gentoo-x86 commit in dev-perl/Test-Tester: Test-Tester-0.107.ebuild ChangeLog


Updated Sep 11, 2010

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.