From fa6113d559e1904f6f006fb1388a5059de669178 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Mon, 24 Dec 2007 13:57:12 +0000 Subject: [PATCH] Python doesn't like imports after references ... even if the import was already done in global scope svn path=/main/branches/prefix/; revision=9049 --- bin/portageq | 2 -- 1 file changed, 2 deletions(-) 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: -- 2.26.2