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
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
Xavier Thompson
slapos.buildout
Commits
b8adedce
Commit
b8adedce
authored
Apr 20, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'bug_766891' into fork
parents
ce65cc6e
c7ac9ec3
Changes
1
Hide 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 @
b8adedce
...
@@ -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