1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

corrected object with columns

This commit is contained in:
Brian Coca 2017-05-31 13:03:10 -04:00
parent b937bad52e
commit 798d05ea41

View file

@ -136,7 +136,7 @@ class CallbackModule(CallbackBase):
# Print the timings # Print the timings
for uuid, result in results: for uuid, result in results:
msg=u"{0:-<{2}}{1:->9}".format(result['name'] + u' ',u' {0:.02f}s'.format(result['time']), self.columns - 9) msg=u"{0:-<{2}}{1:->9}".format(result['name'] + u' ',u' {0:.02f}s'.format(result['time']), self._display.columns - 9)
if 'path' in result: if 'path' in result:
msg += u"\n{0:-<{1}}".format(result['path'] + u' ', self.columns) msg += u"\n{0:-<{1}}".format(result['path'] + u' ', self._display.columns)
self._display.display(msg) self._display.display(msg)