summaryrefslogtreecommitdiffstats
path: root/manifest_xml.py
diff options
context:
space:
mode:
Diffstat (limited to 'manifest_xml.py')
-rw-r--r--manifest_xml.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/manifest_xml.py b/manifest_xml.py
index cc441dc8..16476aa5 100644
--- a/manifest_xml.py
+++ b/manifest_xml.py
@@ -18,16 +18,16 @@ import itertools
18import os 18import os
19import re 19import re
20import sys 20import sys
21try: 21import xml.dom.minidom
22 # For python3 22
23from pyversion import is_python3
24if is_python3():
23 import urllib.parse 25 import urllib.parse
24except ImportError: 26else:
25 # For python2
26 import imp 27 import imp
27 import urlparse 28 import urlparse
28 urllib = imp.new_module('urllib') 29 urllib = imp.new_module('urllib')
29 urllib.parse = urlparse 30 urllib.parse = urlparse
30import xml.dom.minidom
31 31
32from git_config import GitConfig 32from git_config import GitConfig
33from git_refs import R_HEADS, HEAD 33from git_refs import R_HEADS, HEAD