Commit 9a88fcdb 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 3671cc41
...@@ -421,6 +421,9 @@ class Buildout(DictMixin): ...@@ -421,6 +421,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