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
6545803f
Commit
6545803f
authored
Sep 07, 2015
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove trailing white spaces.
parent
313f5843
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
slapos/libnetworkcache.py
slapos/libnetworkcache.py
+1
-1
slapos/networkcachehelper.py
slapos/networkcachehelper.py
+1
-1
No files found.
slapos/libnetworkcache.py
View file @
6545803f
...
@@ -49,7 +49,7 @@ class short_exc_info(tuple):
...
@@ -49,7 +49,7 @@ class short_exc_info(tuple):
l
=
[
'%s:%s
\
n
'
%
(
filename
,
lineno
)]
l
=
[
'%s:%s
\
n
'
%
(
filename
,
lineno
)]
l
+=
traceback
.
format_exception_only
(
t
,
v
)
l
+=
traceback
.
format_exception_only
(
t
,
v
)
return
''
.
join
(
l
).
rstrip
()
return
''
.
join
(
l
).
rstrip
()
def
byteify
(
input
):
def
byteify
(
input
):
'''Transform every unicode string inside a list or dict into normal strings. '''
'''Transform every unicode string inside a list or dict into normal strings. '''
if
isinstance
(
input
,
dict
):
if
isinstance
(
input
,
dict
):
...
...
slapos/networkcachehelper.py
View file @
6545803f
...
@@ -65,7 +65,7 @@ def helper_upload_network_cached_from_directory(dir_url, cache_url,
...
@@ -65,7 +65,7 @@ def helper_upload_network_cached_from_directory(dir_url, cache_url,
def
helper_download_network_cached
(
dir_url
,
cache_url
,
def
helper_download_network_cached
(
dir_url
,
cache_url
,
signature_certificate_list
,
signature_certificate_list
,
directory_key
,
wanted_metadata_dict
=
{},
required_key_list
=
[],
directory_key
,
wanted_metadata_dict
=
{},
required_key_list
=
[],
strategy
=
None
):
strategy
=
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