projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3775750
)
Strip the - prefix from EAPI in getmaskingstatus()
author
Zac Medico
<zmedico@gentoo.org>
Fri, 5 Oct 2007 23:11:22 +0000
(23:11 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 5 Oct 2007 23:11:22 +0000
(23:11 -0000)
if necessary. (trunk r7975)
svn path=/main/branches/2.1.2/; revision=7976
pym/portage.py
patch
|
blob
|
history
diff --git
a/pym/portage.py
b/pym/portage.py
index c12f39b094587915c53c318cf4d657857c26ce2d..447759c2b2a76f16a060fc11e014eb9257719b17 100644
(file)
--- a/
pym/portage.py
+++ b/
pym/portage.py
@@
-4990,6
+4990,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()