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
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
slapos.libnetworkcache
Commits
acf6c303
Commit
acf6c303
authored
Jan 26, 2012
by
Yingjie Xu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make documentation consistent with code.
parent
5ce5bc98
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
slapos/libnetworkcache.py
slapos/libnetworkcache.py
+1
-1
No files found.
slapos/libnetworkcache.py
View file @
acf6c303
...
@@ -202,7 +202,7 @@ class NetworkcacheClient(object):
...
@@ -202,7 +202,7 @@ class NetworkcacheClient(object):
def
select
(
self
,
key
):
def
select
(
self
,
key
):
''' Download a file from shacache by selecting the entry in shadir
''' Download a file from shacache by selecting the entry in shadir
Raise DirectoryNotFound if
multiple files are
found.
Raise DirectoryNotFound if
no trustable file is
found.
'''
'''
url
=
os
.
path
.
join
(
self
.
shadir_url
,
key
)
url
=
os
.
path
.
join
(
self
.
shadir_url
,
key
)
request
=
urllib2
.
Request
(
url
=
url
,
data
=
None
,
request
=
urllib2
.
Request
(
url
=
url
,
data
=
None
,
...
...
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