projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91d8a0a
)
Strip the - prefix from EAPI in getmaskingstatus()
author
Zac Medico
<zmedico@gentoo.org>
Fri, 5 Oct 2007 23:09:27 +0000
(23:09 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 5 Oct 2007 23:09:27 +0000
(23:09 -0000)
if necessary.
svn path=/main/trunk/; revision=7975
pym/portage/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/__init__.py
b/pym/portage/__init__.py
index 608214f0a88ddb151ef2b8adedb6e295225feb40..505848f7ff13ae69ef3a1946e22450925ce33427 100644
(file)
--- a/
pym/portage/__init__.py
+++ b/
pym/portage/__init__.py
@@
-5019,6
+5019,8
@@
def getmaskingstatus(mycpv, settings=None, portdb=None):
# The "depend" phase apparently failed for some reason. An associated
# error message will have already been printed to stderr.
return ["corruption"]
+ if eapi.startswith("-"):
+ eapi = eapi[1:]
if not eapi_is_supported(eapi):
return ["required EAPI %s, supported EAPI %s" % (eapi, portage.const.EAPI)]
mygroups = mygroups.split()