mirror of
https://gerrit.googlesource.com/git-repo
synced 2024-12-21 07:16:21 +00:00
Merge "Fix "'module' object is not callable" error"
This commit is contained in:
commit
65b162b32f
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user