Merge pull request #1544 from colynn/devel

fixed python 2.4 compatibility
reviewable/pr18780/r1
Brian Coca 9 years ago
commit d02e26c38f

@ -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:
nf.close()
except:
pass
res_args = dict(
changed = changed, msg = message
)

Loading…
Cancel
Save