diff options
author | Alec Warner <antarus@gentoo.org> | 2007-03-03 17:52:08 +0000 |
---|---|---|
committer | Alec Warner <antarus@gentoo.org> | 2007-03-03 17:52:08 +0000 |
commit | a488f55f7b978b216670fd7f476a48d833560443 (patch) | |
tree | f5ddd88e3180a92bd8f121cc9e6cc9ce5e89c26d | |
parent | 4e088061d60d95e9e55cd2e1b51e285f67e0e56b (diff) | |
download | portage-a488f55f7b978b216670fd7f476a48d833560443.tar.gz portage-a488f55f7b978b216670fd7f476a48d833560443.tar.bz2 portage-a488f55f7b978b216670fd7f476a48d833560443.zip |
you can't insert into sys.path without importing sys...
svn path=/main/trunk/; revision=6153
-rwxr-xr-x | bin/emerge | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/emerge b/bin/emerge index 1190780c3..517586d1f 100755 --- a/bin/emerge +++ b/bin/emerge @@ -1,9 +1,12 @@ #!/usr/bin/python +# Copyright Gentoo Foundation 2006 +# Portage Emerge bits try: from emerge import * except ImportError: from os import path as osp + import sys sys.path.insert(0, osp.join(osp.dirname(osp.dirname(osp.realpath(__file__))), "pym")) from emerge import * |