Fix parsing error in file module when returning errors.
This commit is contained in:
parent
484adca241
commit
56b78eb70f
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue