diff options
Diffstat (limited to 'func/overlord/cmd_modules')
-rw-r--r-- | func/overlord/cmd_modules/call.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/func/overlord/cmd_modules/call.py b/func/overlord/cmd_modules/call.py index d3e5fba..b92d3ab 100644 --- a/func/overlord/cmd_modules/call.py +++ b/func/overlord/cmd_modules/call.py @@ -65,6 +65,7 @@ class Call(base_command.BaseCommand): if self.options.json: try: import simplejson + print "blargh\n\n" return simplejson.dumps(data) except ImportError: print "WARNING: json support not found, install python-simplejson" @@ -73,6 +74,7 @@ class Call(base_command.BaseCommand): if self.options.rawprint: return data + return pprint.pformat(data) def do(self, args): @@ -99,7 +101,7 @@ class Call(base_command.BaseCommand): # self.getOverlord() - self.interactive = True + self.interactive = False self.server_spec = self.parentCommand.server_spec self.getOverlord() @@ -111,4 +113,8 @@ class Call(base_command.BaseCommand): # probably as a higher level module. # dump the return code stuff atm till we figure out the right place for it - return self.format_return(results) + foo = self.format_return(results) + print foo + + # nothing really makes use of this atm -akl + return foo |