diff options
Diffstat (limited to 'pym/portage/versions.py')
-rw-r--r-- | pym/portage/versions.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pym/portage/versions.py b/pym/portage/versions.py index bbea9b7c9..e77e22b2a 100644 --- a/pym/portage/versions.py +++ b/pym/portage/versions.py @@ -20,7 +20,7 @@ def ververify(myver, silent=1): return 1 else: if not silent: - print _("!!! syntax error in version: %s") % myver + print(_("!!! syntax error in version: %s") % myver) return 0 vercmp_cache = {} @@ -61,11 +61,11 @@ def vercmp(ver1, ver2, silent=1): # checking that the versions are valid if not match1 or not match1.groups(): if not silent: - print _("!!! syntax error in version: %s") % ver1 + print(_("!!! syntax error in version: %s") % ver1) return None if not match2 or not match2.groups(): if not silent: - print _("!!! syntax error in version: %s") % ver2 + print(_("!!! syntax error in version: %s") % ver2) return None # shortcut for cvs ebuilds (new style) @@ -221,7 +221,7 @@ def pkgsplit(mypkg,silent=1): if len(myparts)<2: if not silent: - print _("!!! Name error in %s: missing a version or name part.") % mypkg + print(_("!!! Name error in %s: missing a version or name part.") % mypkg) pkgcache[mypkg]=None return None |