projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aad3cd4
)
fix misc issues causing eapi not to be valid
author
Fabian Groffen
<grobian@gentoo.org>
Mon, 28 Jul 2008 18:23:29 +0000
(18:23 -0000)
committer
Fabian Groffen
<grobian@gentoo.org>
Mon, 28 Jul 2008 18:23:29 +0000
(18:23 -0000)
svn path=/main/branches/prefix/; revision=11242
pym/portage/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/__init__.py
b/pym/portage/__init__.py
index 0d9ba7c0b5e7ab832224e05d424d507b21e59d06..38b6100927a3129c72ca4f8bf3e2447b44e6648c 100644
(file)
--- a/
pym/portage/__init__.py
+++ b/
pym/portage/__init__.py
@@
-4526,12
+4526,14
@@
def eapi_is_supported(eapi):
# now check if what's left is supported (can)
properties = [ "2_pre0" ] # another clumpsy solution
- for i in range(portage.const.EAPI):
+ for i in range(portage.const.EAPI
+ 1
):
properties.append(str(i))
for v in eapi:
if v not in properties:
return False
+
+ return True
def doebuild_environment(myebuild, mydo, myroot, mysettings, debug, use_cache, mydbapi):