mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Make wheeltest pprint, much easier to use
This commit is contained in:
parent
4522d1fb37
commit
d8451b9a37
1 changed files with 3 additions and 2 deletions
|
@ -6,6 +6,7 @@ wheel modules
|
|||
|
||||
# Import Python libs
|
||||
import optparse
|
||||
import pprint
|
||||
|
||||
# Import Salt Libs
|
||||
import salt.config
|
||||
|
@ -62,9 +63,9 @@ class Wheeler(object):
|
|||
'''
|
||||
Execute the wheel call
|
||||
'''
|
||||
print self.wheel.master_call(**self.opts)
|
||||
return self.wheel.master_call(**self.opts)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
wheeler = Wheeler(parse())
|
||||
wheeler.run()
|
||||
pprint.pprint(wheeler.run())
|
||||
|
|
Loading…
Add table
Reference in a new issue