Commit 269ca795 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki Committed by Xavier Thompson

[why?] Ignore empty value for 'download-cache' in 'buildout' section

Even though such configuration is wrong...
parent 73ff24ab
...@@ -418,6 +418,9 @@ class Buildout(DictMixin): ...@@ -418,6 +418,9 @@ class Buildout(DictMixin):
sectionkey = data['buildout'][name] sectionkey = data['buildout'][name]
origdir = sectionkey.value origdir = sectionkey.value
src = sectionkey.source src = sectionkey.source
if not origdir:
del data['buildout'][name]
continue
if '${' in origdir: if '${' in origdir:
continue continue
if not os.path.isabs(origdir): if not os.path.isabs(origdir):
......
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