mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Fix bug in nested outputter when displaying floats
Just a simple fix for a bug that was keeping floating-point numbers from showing up in the new nested outputter.
This commit is contained in:
parent
ea45a87e52
commit
5716b06edd
@ -22,7 +22,7 @@ class NestDisplay(object):
|
||||
prefix,
|
||||
ret,
|
||||
self.colors['ENDC'])
|
||||
elif isinstance(ret, int):
|
||||
elif isinstance(ret, (int, float)):
|
||||
out += '{0}{1}{2}{3}{4}\n'.format(
|
||||
self.colors['YELLOW'],
|
||||
' ' * indent,
|
||||
|
Loading…
Reference in New Issue
Block a user