Changeset 8573
- Timestamp:
- 31 May 2012, 14:16:51 (13 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/browser/pages.py
r8529 r8573 830 830 self.getNormalizedFileName(filename)) 831 831 open(target, 'wb').write(uploadfile.read()) 832 os.chmod(target, 0664) 832 833 logger = self.context.logger 833 834 logger.info('%s: Uploaded file %s' % ( -
main/waeup.kofa/trunk/src/waeup/kofa/imagestorage.py
r7811 r8573 441 441 os.makedirs(dirname, 0755) 442 442 open(path, 'wb').write(f.read()) 443 s.chmod(path, 0664) 443 444 return file_obj 444 445 -
main/waeup.kofa/trunk/src/waeup/kofa/utils/batching.py
r8540 r8573 292 292 failed_writer = csv.DictWriter(open(failed_path, 'wb'), 293 293 failed_headers) 294 os.chmod(failed_path, 0664) 294 295 failed_writer.writerow(dict([(x,x) for x in failed_headers])) 295 296
Note: See TracChangeset for help on using the changeset viewer.