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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Łukasz Nowak
slapos.libnetworkcache
Commits
d629e039
Commit
d629e039
authored
Jun 30, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix small bug with exposing wrong object.
Rest of file requires hexdigested file.
parent
8aaeacbf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
slapos/libnetworkcache.py
slapos/libnetworkcache.py
+2
-1
No files found.
slapos/libnetworkcache.py
View file @
d629e039
...
@@ -76,7 +76,8 @@ class NetworkcacheClient(object):
...
@@ -76,7 +76,8 @@ class NetworkcacheClient(object):
if
not
d
:
if
not
d
:
break
break
sha512sum
.
update
(
d
)
sha512sum
.
update
(
d
)
path
=
os
.
path
.
join
(
self
.
shacache_path
,
sha512sum
.
hexdigest
())
sha512sum
=
sha512sum
.
hexdigest
()
path
=
os
.
path
.
join
(
self
.
shacache_path
,
sha512sum
)
file_descriptor
.
seek
(
0
)
file_descriptor
.
seek
(
0
)
shacache_connection
=
httplib
.
HTTPConnection
(
self
.
shacache_host
,
shacache_connection
=
httplib
.
HTTPConnection
(
self
.
shacache_host
,
...
...
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