diff options
author | David Pursehouse <david.pursehouse@sonymobile.com> | 2013-06-06 19:06:16 +0900 |
---|---|---|
committer | David Pursehouse <david.pursehouse@sonymobile.com> | 2013-06-08 14:50:41 +0900 |
commit | cd51f17c643370e6199216462c1be36f04d57291 (patch) | |
tree | 8ab1624ac46d6adbac6ca3c25d3d716aff251776 /manifest_xml.py | |
parent | c2791e85f322bb7d5007ee7e673134d5fa2ed662 (diff) | |
download | git-repo-cd51f17c643370e6199216462c1be36f04d57291.tar.gz |
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
Diffstat (limited to 'manifest_xml.py')
-rw-r--r-- | manifest_xml.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: | |||
27 | import imp | 27 | import imp |
28 | import urlparse | 28 | import urlparse |
29 | urllib = imp.new_module('urllib') | 29 | urllib = imp.new_module('urllib') |
30 | urllib.parse = urlparse | 30 | urllib.parse = urlparse.urlparse |
31 | 31 | ||
32 | from git_config import GitConfig | 32 | from git_config import GitConfig |
33 | from git_refs import R_HEADS, HEAD | 33 | from git_refs import R_HEADS, HEAD |