salt
salt copied to clipboard
output/__init.__.py Traceback
$ salt '*' grains.items Traceback (most recent call last): File "/usr/bin/salt", line 10, insalt_main() File "/usr/lib/python2.6/site-packages/salt/scripts.py", line 102, in salt_main client.run() File "/usr/lib/python2.6/site-packages/salt/cli/__init__.py", line 108, in run self._output_ret(ret, out) File "/usr/lib/python2.6/site-packages/salt/cli/__init__.py", line 122, in _output_ret salt.output.display_output(ret, out, self.config) File "/usr/lib/python2.6/site-packages/salt/output/__init__.py", line 21, in display_output print (get_printout(out, opts)(data).rstrip()) AttributeError: 'NoneType' object has no attribute 'rstrip'
Everything seems to work if I take out the rstip() on line 21. This is from develop branch.
Thanks for the find, I will get it fixed!
No problem Tom, thank you for all the great work!