diff --git a/manifest_xml.py b/manifest_xml.py index 817a1c80..b6f75477 100644 --- a/manifest_xml.py +++ b/manifest_xml.py @@ -27,7 +27,7 @@ else: import imp import urlparse urllib = imp.new_module('urllib') - urllib.parse = urlparse + urllib.parse = urlparse.urlparse from git_config import GitConfig from git_refs import R_HEADS, HEAD diff --git a/subcmds/sync.py b/subcmds/sync.py index b34787d2..92d295dd 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py @@ -34,7 +34,7 @@ else: import urlparse import xmlrpclib urllib = imp.new_module('urllib') - urllib.parse = urlparse + urllib.parse = urlparse.urlparse xmlrpc = imp.new_module('xmlrpc') xmlrpc.client = xmlrpclib