1 |
commit: f75fed63cb0256505d684ce524d65c9086af0879 |
2 |
Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org> |
3 |
AuthorDate: Sun Jun 3 06:34:34 2012 +0000 |
4 |
Commit: Arfrever Frehtes Taifersar Arahesis <arfrever.fta <AT> gmail <DOT> com> |
5 |
CommitDate: Sun Jun 3 06:34:34 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=f75fed63 |
7 |
|
8 |
Delete workaround for http://bugs.python.org/issue14007. |
9 |
|
10 |
--- |
11 |
pym/portage/__init__.py | 10 ---------- |
12 |
1 files changed, 0 insertions(+), 10 deletions(-) |
13 |
|
14 |
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py |
15 |
index 56af9e4..84cac74 100644 |
16 |
--- a/pym/portage/__init__.py |
17 |
+++ b/pym/portage/__init__.py |
18 |
@@ -335,16 +335,6 @@ _python_interpreter = os.path.realpath(sys.executable) |
19 |
_bin_path = PORTAGE_BIN_PATH |
20 |
_pym_path = PORTAGE_PYM_PATH |
21 |
|
22 |
-if sys.hexversion >= 0x3030000: |
23 |
- # Workaround for http://bugs.python.org/issue14007 |
24 |
- def _test_xml_etree_ElementTree_TreeBuilder_type(): |
25 |
- import subprocess |
26 |
- p = subprocess.Popen([_python_interpreter, "-c", |
27 |
- "import sys, xml.etree.ElementTree; sys.exit(not isinstance(xml.etree.ElementTree.TreeBuilder, type))"]) |
28 |
- if p.wait() != 0: |
29 |
- sys.modules["_elementtree"] = None |
30 |
- _test_xml_etree_ElementTree_TreeBuilder_type() |
31 |
- |
32 |
def _shell_quote(s): |
33 |
""" |
34 |
Quote a string in double-quotes and use backslashes to |