summaryrefslogtreecommitdiffstats
path: root/func
diff options
context:
space:
mode:
Diffstat (limited to 'func')
-rwxr-xr-xfunc/overlord/inventory.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/func/overlord/inventory.py b/func/overlord/inventory.py
index 737050c..8bb5942 100755
--- a/func/overlord/inventory.py
+++ b/func/overlord/inventory.py
@@ -113,6 +113,10 @@ class FuncInventory(object):
The call module supports multiple output return types, the default is pprint.
"""
+ # special case... if the return is a string, just print it straight
+ if type(data) == str:
+ return data
+
if self.options.xmlrpc:
return xmlrpclib.dumps((data,""))