Commit 0751e476 authored by Peter Uittenbroek's avatar Peter Uittenbroek

Fix for 'Extending sections (macros)' in combination with += and -=. Which did not work

parent ef4dcb2a
......@@ -1232,7 +1232,10 @@ class Options(DictMixin):
raise zc.buildout.UserError("No section named %r" % iname)
result.update(self._do_extend_raw(iname, raw, doing))
result.update(data)
result =_annotate_section(result, "")
data = _annotate_section(data.copy(), "")
_update_section(result, data)
result = _unannotate_section(anno_result)
result.pop('<', None)
return result
finally:
......@@ -1943,6 +1946,7 @@ def main(args=None):
try:
buildout = Buildout(config_file, options,
user_defaults, command, args)
print command, args
getattr(buildout, command)(args)
except SystemExit:
logging.shutdown()
......
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