Fix "'module' object is not callable" error
In a couple of files the urlparse method was not being set up
correctly for python < 3 and this resulted in an error being
thrown when trying to call it.
Change-Id: I4d2040ac77101e4e228ee225862f365ae3d96cec
diff --git a/subcmds/sync.py b/subcmds/sync.py
index b34787d..92d295d 100644
--- a/subcmds/sync.py
+++ b/subcmds/sync.py
@@ -34,7 +34,7 @@
import urlparse
import xmlrpclib
urllib = imp.new_module('urllib')
- urllib.parse = urlparse
+ urllib.parse = urlparse.urlparse
xmlrpc = imp.new_module('xmlrpc')
xmlrpc.client = xmlrpclib