Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.buildout
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
6
Merge Requests
6
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.buildout
Commits
d603986d
Commit
d603986d
authored
Aug 02, 2011
by
Lucas Carvalho
2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Using the proper method to get the filename from the url.
parent
8ad1b2d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/zc/buildout/networkcache.py
src/zc/buildout/networkcache.py
+2
-1
No files found.
src/zc/buildout/networkcache.py
View file @
d603986d
...
...
@@ -109,7 +109,8 @@ def upload_network_cached(dir_url, cache_url, external_url, path, logger,
logger
.
info
(
'Uploading %s into network cache.'
%
external_url
)
file_name
=
external_url
.
split
(
'/'
)[
-
1
].
split
(
'#'
)[
0
].
split
(
'?'
)[
0
]
file_name
=
get_filename_from_url
(
external_url
)
directory_key
=
get_directory_key
(
external_url
)
kw
=
dict
(
file
=
file_name
,
urlmd5
=
hashlib
.
md5
(
external_url
).
hexdigest
())
...
...
Julien Muchembled
@jm
mentioned in commit
baf23e79
·
May 31, 2017
mentioned in commit
baf23e79
mentioned in commit baf23e79cb5bfda35284702edd292716ae57b7bf
Toggle commit list
Julien Muchembled
@jm
mentioned in commit
9fdd114e
·
May 31, 2017
mentioned in commit
9fdd114e
mentioned in commit 9fdd114ea7f4a9164c35d23bd0bfd45f526fa71c
Toggle commit list
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