1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix parsing error in file module when returning errors.

This commit is contained in:
Michael DeHaan 2012-05-31 22:14:33 -04:00
parent 1ee7ff2f7b
commit 5a8e61a610

View file

@ -33,7 +33,7 @@ except ImportError:
HAVE_SELINUX=False
def dump_kv(vars):
return " ".join("%s=%s" % (k,v) for (k,v) in vars.items())
return " ".join("%s='%s'" % (k,v) for (k,v) in vars.items())
def exit_kv(rc=0, **kwargs):
if 'path' in kwargs: