Commit 0957481d authored by Julien Muchembled's avatar Julien Muchembled

default: remove 'format' option

parent 84a8ce94
......@@ -233,7 +233,6 @@ class Script(EnvironMixin):
except KeyError:
self.options['location'] = os.path.join(
buildout['buildout']['parts-directory'], self.name)
self._format = options.get('format', 'yes') in TRUE_LIST
missing = True
keys = 'init', 'install', 'update'
for option in keys:
......@@ -255,7 +254,7 @@ class Script(EnvironMixin):
def _exec(self, script):
options = self.options
exec(script % options if self._format else script, dict(GLOBALS,
exec(script, dict(GLOBALS,
self=self,
options=options,
location=options['location'],
......
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