diff options
author | Marius Mauch <genone@gentoo.org> | 2007-02-17 11:21:13 +0000 |
---|---|---|
committer | Marius Mauch <genone@gentoo.org> | 2007-02-17 11:21:13 +0000 |
commit | cea1466f62fc107c6ecba1cd94821cc4475970ad (patch) | |
tree | a0a3c3e328854500acc2620029a7a034b4242055 | |
parent | 941dc5b26301075545e5fb3580f5d72c5f78c3cd (diff) | |
download | portage-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-x | bin/emerge | 6 |
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()) |