From 0252e07f4ddf0dfe843d02160b3853696a02af32 Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Sat, 12 May 2012 18:25:16 +0200 Subject: [PATCH] Add workaround for http://bugs.python.org/issue14007. --- pym/portage/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.26.2