summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Mauch <genone@gentoo.org>2007-02-17 11:21:13 +0000
committerMarius Mauch <genone@gentoo.org>2007-02-17 11:21:13 +0000
commitcea1466f62fc107c6ecba1cd94821cc4475970ad (patch)
treea0a3c3e328854500acc2620029a7a034b4242055
parent941dc5b26301075545e5fb3580f5d72c5f78c3cd (diff)
downloadportage-cea1466f62fc107c6ecba1cd94821cc4475970ad.tar.gz
portage-cea1466f62fc107c6ecba1cd94821cc4475970ad.tar.bz2
portage-cea1466f62fc107c6ecba1cd94821cc4475970ad.zip
For full backwards compat (with symlinks or other weird stuff) import everything into the main namespace
svn path=/main/trunk/; revision=5979
-rwxr-xr-xbin/emerge6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/emerge b/bin/emerge
index d6e7c64d5..1190780c3 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -1,12 +1,12 @@
#!/usr/bin/python
try:
- import emerge
+ from emerge import *
except ImportError:
from os import path as osp
sys.path.insert(0, osp.join(osp.dirname(osp.dirname(osp.realpath(__file__))), "pym"))
- import emerge
+ from emerge import *
if __name__ == "__main__":
import sys
- sys.exit(emerge.emerge_main())
+ sys.exit(emerge_main())