Yaniv Bronhaim has posted comments on this change.
Change subject: utils: atomic file write ......................................................................
Patch Set 11:
(1 comment)
https://gerrit.ovirt.org/#/c/61482/9/lib/vdsm/utils.py File lib/vdsm/utils.py:
Line 933: Line 934: Line 935: @contextmanager Line 936: def atomic_file_write(filename, flag): Line 937: """Atomically write into a file.
I'm following https://www.python.org/dev/peps/pep-0257/#multi-line-docstrin
ok. please follow the file standards here Line 938: Line 939: Usage: Line 940: Line 941: with atomic_write('foo.txt', 'w') as f: