From: Fabian Groffen Date: Mon, 24 Dec 2007 13:57:12 +0000 (-0000) Subject: Python doesn't like imports after references ... even if the import was already done... X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=fa6113d559e1904f6f006fb1388a5059de669178;p=portage.git Python doesn't like imports after references ... even if the import was already done in global scope svn path=/main/branches/prefix/; revision=9049 --- diff --git a/bin/portageq b/bin/portageq index 23de667b3..486ac76c6 100755 --- 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: