summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index 31d580742..6ca044518 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -44,6 +44,10 @@ except ImportError as e:
sys.stderr.write(" "+str(e)+"\n\n");
raise
+if sys.hexversion >= 0x3030000:
+ # Workaround for http://bugs.python.org/issue14007
+ sys.modules["_elementtree"] = None
+
try:
import portage.proxy.lazyimport