Merge "Fix "'module' object is not callable" error"

This commit is contained in:
Conley Owens 2013-06-10 14:31:30 +00:00 committed by Gerrit Code Review
commit 65b162b32f
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ else:
import imp import imp
import urlparse import urlparse
urllib = imp.new_module('urllib') urllib = imp.new_module('urllib')
urllib.parse = urlparse urllib.parse = urlparse.urlparse
from git_config import GitConfig from git_config import GitConfig
from git_refs import R_HEADS, HEAD from git_refs import R_HEADS, HEAD

View File

@ -34,7 +34,7 @@ else:
import urlparse import urlparse
import xmlrpclib import xmlrpclib
urllib = imp.new_module('urllib') urllib = imp.new_module('urllib')
urllib.parse = urlparse urllib.parse = urlparse.urlparse
xmlrpc = imp.new_module('xmlrpc') xmlrpc = imp.new_module('xmlrpc')
xmlrpc.client = xmlrpclib xmlrpc.client = xmlrpclib