From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SM5mi-0001k9-AZ for garchives@archives.gentoo.org; Sun, 22 Apr 2012 23:01:36 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9F934E08BA; Sun, 22 Apr 2012 23:01:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 6C51EE08BA for ; Sun, 22 Apr 2012 23:01:28 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D10B91B40F4 for ; Sun, 22 Apr 2012 23:01:27 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 70048E5402 for ; Sun, 22 Apr 2012 23:01:25 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1335135667.c31e5b74437b499b8361fb867e118e500c0c8d91.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/repoman/ X-VCS-Repository: proj/portage X-VCS-Files: pym/repoman/checks.py X-VCS-Directories: pym/repoman/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: c31e5b74437b499b8361fb867e118e500c0c8d91 X-VCS-Branch: master Date: Sun, 22 Apr 2012 23:01:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 2713bbba-e72c-4404-9b77-3e17324005d4 X-Archives-Hash: 27cca06a0b99baac2d8217405ef26537 commit: c31e5b74437b499b8361fb867e118e500c0c8d91 Author: Zac Medico gentoo org> AuthorDate: Sun Apr 22 23:01:07 2012 +0000 Commit: Zac Medico gentoo org> CommitDate: Sun Apr 22 23:01:07 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3Dc31e5b74 EapiDefinition: handle impossible "%d" % None --- pym/repoman/checks.py | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pym/repoman/checks.py b/pym/repoman/checks.py index c3d110f..ab4ddd9 100644 --- a/pym/repoman/checks.py +++ b/pym/repoman/checks.py @@ -1,5 +1,5 @@ # repoman: Checks -# Copyright 2007, 2011 Gentoo Foundation +# Copyright 2007-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 =20 """This module contains functions used in Repoman to ascertain the quali= ty @@ -308,11 +308,11 @@ class EapiDefinition(LineCheck): def end(self): if self._parsed_eapi is None: if self._cached_eapi !=3D "0": - yield "valid EAPI assignment must occur on or before line: %d" % \ + yield "valid EAPI assignment must occur on or before line: %s" % \ self._eapi_line_num elif self._parsed_eapi !=3D self._cached_eapi: yield ("bash returned EAPI '%s' which does not match " - "assignment on line: %d") % \ + "assignment on line: %s") % \ (self._cached_eapi, self._eapi_line_num) =20 class EbuildPatches(LineCheck):