diff options
author | Zac Medico <zmedico@gentoo.org> | 2012-04-22 16:01:07 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2012-04-22 16:01:07 -0700 |
commit | c31e5b74437b499b8361fb867e118e500c0c8d91 (patch) | |
tree | affa84ebc42a8180b79b08e875ce8ff85a868fa6 | |
parent | 9ccefaf0cd5987eadebac66e4c15464b65795cda (diff) | |
download | portage-c31e5b74437b499b8361fb867e118e500c0c8d91.tar.gz portage-c31e5b74437b499b8361fb867e118e500c0c8d91.tar.bz2 portage-c31e5b74437b499b8361fb867e118e500c0c8d91.zip |
EapiDefinition: handle impossible "%d" % Nonev2.2.0_alpha101
-rw-r--r-- | 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 c3d110f88..ab4ddd9ec 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 """This module contains functions used in Repoman to ascertain the quality @@ -308,11 +308,11 @@ class EapiDefinition(LineCheck): def end(self): if self._parsed_eapi is None: if self._cached_eapi != "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 != 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) class EbuildPatches(LineCheck): |