fixed python 2.4 compatibility
@ -243,11 +243,16 @@ def main():
nf.write(new_limit)
f.close()
nf.close()
nf.flush()
# Copy tempfile to newfile
module.atomic_move(nf.name, f.name)
try:
except:
pass
res_args = dict(
changed = changed, msg = message
)