Commit 136fa15a authored by Jim Fulton's avatar Jim Fulton

sort unused options for consistent output.

parent 66fee301
...@@ -1501,7 +1501,8 @@ recipe being used: ...@@ -1501,7 +1501,8 @@ recipe being used:
def _check_for_unused_options_in_section(buildout, section): def _check_for_unused_options_in_section(buildout, section):
options = buildout[section] options = buildout[section]
unused = [option for option in options._raw if option not in options._data] unused = [option for option in sorted(options._raw)
if option not in options._data]
if unused: if unused:
buildout._logger.warn("Unused options for %s: %s." buildout._logger.warn("Unused options for %s: %s."
% (section, ' '.join(map(repr, unused))) % (section, ' '.join(map(repr, unused)))
......
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