From: Arfrever Frehtes Taifersar Arahesis Date: Sat, 12 May 2012 16:25:16 +0000 (+0200) Subject: Add workaround for http://bugs.python.org/issue14007. X-Git-Tag: v2.2.0_alpha105~48 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0252e07f4ddf0dfe843d02160b3853696a02af32;p=portage.git Add workaround for bugs.python.org/issue14007. --- 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