From a488f55f7b978b216670fd7f476a48d833560443 Mon Sep 17 00:00:00 2001 From: Alec Warner Date: Sat, 3 Mar 2007 17:52:08 +0000 Subject: [PATCH] you can't insert into sys.path without importing sys... svn path=/main/trunk/; revision=6153 --- bin/emerge | 3 +++ 1 file changed, 3 insertions(+) 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 * -- 2.26.2