Misc cleanup -- moved function out of utils, removed debug statement.

This commit is contained in:
Michael DeHaan 2012-07-15 08:50:23 -04:00
parent 19a2fc00dc
commit 706cfd9ade
3 changed files with 4 additions and 9 deletions

View file

@ -63,13 +63,6 @@ def smjson(result):
result2 = result.copy()
return json.dumps(result2, sort_keys=True)
def task_start_msg(name, conditional):
# FIXME: move to callbacks code
if conditional:
return "NOTIFIED: [%s]" % name
else:
return "TASK: [%s]" % name
def regular_generic_msg(hostname, result, oneline, caption):
''' output on the result of a module run that is not command '''
if not oneline: