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
8
Merge Requests
8
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
c7ac9ec3
Commit
c7ac9ec3
authored
Apr 20, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--buildout-download-base have to be treat same as --download-base.
parent
d5d20874
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
bootstrap/bootstrap.py
bootstrap/bootstrap.py
+2
-1
No files found.
bootstrap/bootstrap.py
View file @
c7ac9ec3
...
@@ -79,7 +79,8 @@ def normalize_to_url(option, opt_str, value, parser):
...
@@ -79,7 +79,8 @@ def normalize_to_url(option, opt_str, value, parser):
value
=
'file://%s'
%
(
value
=
'file://%s'
%
(
urllib
.
pathname2url
(
urllib
.
pathname2url
(
os
.
path
.
abspath
(
os
.
path
.
expanduser
(
value
))),)
os
.
path
.
abspath
(
os
.
path
.
expanduser
(
value
))),)
if
opt_str
==
'--download-base'
and
not
value
.
endswith
(
'/'
):
if
opt_str
in
[
'--download-base'
,
'--buildout-download-base'
]
\
and
not
value
.
endswith
(
'/'
):
# Download base needs a trailing slash to make the world happy.
# Download base needs a trailing slash to make the world happy.
value
+=
'/'
value
+=
'/'
else
:
else
:
...
...
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