Commit 32a5c2bf by James Cammarata

Merge pull request #8721 from sergevanginderachter/syntax_check_avoid_blank_output

Avoid multiple blank lines with --syntax-check
parents 2e6f9804 ad3d3c73
...@@ -247,7 +247,8 @@ def main(args): ...@@ -247,7 +247,8 @@ def main(args):
if getattr(task, 'name', None) is not None: if getattr(task, 'name', None) is not None:
# meta tasks have no names # meta tasks have no names
print ' %s' % task.name print ' %s' % task.name
print '' if options.listhosts or options.listtasks:
print ''
continue continue
if options.syntax: if options.syntax:
......
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