Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.libnetworkcache
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Douglas
slapos.libnetworkcache
Commits
df7a4fa7
Commit
df7a4fa7
authored
Jun 23, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove not needed call.
parent
46371b28
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
slapos/libnetworkcache.py
slapos/libnetworkcache.py
+0
-2
No files found.
slapos/libnetworkcache.py
View file @
df7a4fa7
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment