summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/emerge/__init__.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py
index e69de29bb..123faf480 100644
--- a/pym/emerge/__init__.py
+++ b/pym/emerge/__init__.py
@@ -0,0 +1,5 @@
+# To emulate old behavior, import everything from the normal emerge script
+import imp
+emerge = imp.load_source("emerge", "/usr/bin/emerge")
+from emerge import *
+del emerge, imp