projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50c54db
)
Python doesn't like imports after references ... even if the import was already done...
author
Fabian Groffen
<grobian@gentoo.org>
Mon, 24 Dec 2007 13:57:12 +0000
(13:57 -0000)
committer
Fabian Groffen
<grobian@gentoo.org>
Mon, 24 Dec 2007 13:57:12 +0000
(13:57 -0000)
svn path=/main/branches/prefix/; revision=9049
bin/portageq
patch
|
blob
|
history
diff --git
a/bin/portageq
b/bin/portageq
index 23de667b3a7d2ea8352f119a8edbf8bb6739ceb9..486ac76c6262eec5afeaf39e4493a745677da5f1 100755
(executable)
--- a/
bin/portageq
+++ b/
bin/portageq
@@
-475,8
+475,6
@@
def main():
os.environ["PORTAGE_LEGACY_GLOBALS"] = "false"
# for an explanation on this logic, see pym/_emerge/__init__.py
- import os
- import sys
if os.environ.__contains__("PORTAGE_PYTHONPATH"):
sys.path.insert(0, os.environ["PORTAGE_PYTHONPATH"])
else: