Revision 2e3e75b7 lib/utils.py

b/lib/utils.py
775 775
        out.write('\n')
776 776

  
777 777
        out.flush()
778
        os.fsync(out)
778 779
        os.rename(tmpname, file_name)
779 780
      finally:
780 781
        f.close()
......
810 811
          out.write(line)
811 812

  
812 813
        out.flush()
814
        os.fsync(out)
813 815
        os.rename(tmpname, file_name)
814 816
      finally:
815 817
        f.close()

Also available in: Unified diff