Commit 5a8e61a6 by Michael DeHaan

Fix parsing error in file module when returning errors.

parent 1ee7ff2f
...@@ -33,7 +33,7 @@ except ImportError: ...@@ -33,7 +33,7 @@ except ImportError:
HAVE_SELINUX=False HAVE_SELINUX=False
def dump_kv(vars): 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): def exit_kv(rc=0, **kwargs):
if 'path' in kwargs: if 'path' in kwargs:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment