summaryrefslogtreecommitdiffstats
path: root/bin/regenworld
diff options
context:
space:
mode:
Diffstat (limited to 'bin/regenworld')
-rwxr-xr-xbin/regenworld4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/regenworld b/bin/regenworld
index 11c6ea033..5d59d83f7 100755
--- a/bin/regenworld
+++ b/bin/regenworld
@@ -3,13 +3,15 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-import sys, os
+import sys
try:
import portage
except ImportError:
from os import path as osp
sys.path.insert(0, osp.join(osp.dirname(osp.dirname(osp.realpath(__file__))), "pym"))
import portage
+
+from portage import os
import re
import portage.exception