Merge pull request #8721 from sergevanginderachter/syntax_check_avoid_blank_output

Avoid multiple blank lines with --syntax-check
pull/8389/merge
James Cammarata 10 years ago
commit 32a5c2bf48

@ -247,6 +247,7 @@ 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
if options.listhosts or options.listtasks:
print '' print ''
continue continue

Loading…
Cancel
Save