Commit f01fe7df authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki Committed by Julien Muchembled

Ignore empty value for 'download-cache' parameter in 'buildout' section.

Even though such configuration is wrong...
parent e6e348fa
...@@ -265,6 +265,9 @@ class Buildout(DictMixin): ...@@ -265,6 +265,9 @@ class Buildout(DictMixin):
for name in ('download-cache', 'eggs-directory', 'extends-cache'): for name in ('download-cache', 'eggs-directory', 'extends-cache'):
if name in data['buildout']: if name in data['buildout']:
origdir, src = data['buildout'][name] origdir, src = data['buildout'][name]
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