Commit b8adedce authored by Łukasz Nowak's avatar Łukasz Nowak

Merge branch 'bug_766891' into fork

parents ce65cc6e 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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment