Commit 6814b72c authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

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

Even though such configuration is wrong...
parent ff944ff3
...@@ -269,6 +269,9 @@ class Buildout(DictMixin): ...@@ -269,6 +269,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