Commit ce133017 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fixup! py2/py3: stop using deprecated urllib.split* functions.

parent 438b8fb1
...@@ -624,9 +624,9 @@ class TemplateTool (BaseTool): ...@@ -624,9 +624,9 @@ class TemplateTool (BaseTool):
#LOG('updateRepositoryBusiessTemplateList', 0, #LOG('updateRepositoryBusiessTemplateList', 0,
# 'repository_list = %r' % (repository_list,)) # 'repository_list = %r' % (repository_list,))
for repository in repository_list: for repository in repository_list:
parsed_url = urlparse(url) parsed_url = urlparse(repository)
urltype = parsed_url.scheme urltype = parsed_url.scheme
path = parsed_url.path url = parsed_url.path
if WIN and urltype and '\\' in url: if WIN and urltype and '\\' in url:
urltype = None urltype = None
url = repository url = repository
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment