Fix parsing error in file module when returning errors.

reviewable/pr18780/r1
Michael DeHaan 13 years ago
parent 5c4e496fe8
commit bd16c7c4ac

@ -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…
Cancel
Save