Changeset 8905 for main


Ignore:
Timestamp:
4 Jul 2012, 07:28:09 (12 years ago)
Author:
Henrik Bettermann
Message:

Sett file permission flags of temporarily merged finished file properly before moving to final location.

Location:
main/waeup.kofa/trunk/src/waeup/kofa
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/datacenter.py

    r8725 r8905  
    143143            return
    144144        result_path = merge_csv_files(dest, source)
     145        os.chmod(result_path, 0664)
    145146        self._moveFile(result_path, dest)
    146147        os.unlink(source)
  • main/waeup.kofa/trunk/src/waeup/kofa/utils/batching.py

    r8887 r8905  
    299299        finished_writer = csv.DictWriter(open(finished_path, 'wb'),
    300300                                         finished_headers)
     301        os.chmod(finished_path, 0664)
    301302        finished_writer.writerow(dict([(x,x) for x in finished_headers]))
    302         os.chmod(finished_path, 0664)
    303303
    304304        num =0
Note: See TracChangeset for help on using the changeset viewer.