diff options
-rw-r--r-- | pym/portage/exception.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pym/portage/exception.py b/pym/portage/exception.py index 3d590a563..7802b8016 100644 --- a/pym/portage/exception.py +++ b/pym/portage/exception.py @@ -80,7 +80,11 @@ class UnsupportedAPIException(PortagePackageException): def __init__(self, cpv, eapi): self.cpv, self.eapi = cpv, eapi def __str__(self): - return "Unable to do any operations on '%s', due to the fact it's EAPI is higher then this portage versions. Please upgrade to a portage version that supports EAPI %s" % (self.cpv, self.eapi) + msg = ("Unable to do any operations on '%s', since " + \ + "it's EAPI is higher than this portage version's. Please upgrade" + \ + " to a portage version that supports EAPI '%s'.") % \ + (self.cpv, str(self.eapi).lstrip("-")) + return msg |