Commit df7a4fa7 authored by Łukasz Nowak's avatar Łukasz Nowak

Remove not needed call.

parent 46371b28
...@@ -52,7 +52,6 @@ class NetworkcacheClient(object): ...@@ -52,7 +52,6 @@ class NetworkcacheClient(object):
if shacache_urlparse.path not in ('', '/'): if shacache_urlparse.path not in ('', '/'):
self.shacache_path = shacache_urlparse.path self.shacache_path = shacache_urlparse.path
shacache_urlparse = urlparse(shacache)
self.shacache_host = shacache_urlparse.hostname self.shacache_host = shacache_urlparse.hostname
if shacache_urlparse.port is not None: if shacache_urlparse.port is not None:
self.shacache_host += ':%s' % shacache_urlparse.port self.shacache_host += ':%s' % shacache_urlparse.port
...@@ -73,7 +72,6 @@ class NetworkcacheClient(object): ...@@ -73,7 +72,6 @@ class NetworkcacheClient(object):
if shadir_urlparse.path not in ('', '/'): if shadir_urlparse.path not in ('', '/'):
self.shadir_path = shadir_urlparse.path self.shadir_path = shadir_urlparse.path
shadir_urlparse = urlparse(shadir)
self.shadir_host = shadir_urlparse.hostname self.shadir_host = shadir_urlparse.hostname
if shadir_urlparse.port is not None: if shadir_urlparse.port is not None:
self.shadir_host += ':%s' % shadir_urlparse.port self.shadir_host += ':%s' % shadir_urlparse.port
......
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