Changeset 9769 for main/waeup.kofa/trunk/src/waeup/kofa/datacenter.py
- Timestamp:
- 5 Dec 2012, 08:32:11 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/datacenter.py
r9589 r9769 116 116 """Get the files from logs/ subdir. Files are sorted by name. 117 117 118 By default backup logs ('app.log.1', etc.) are excluded. 118 By default backup logs ('app.log.1', etc.) and payments.log 119 are excluded. 119 120 """ 120 121 result = [] … … 124 125 for name in sorted(os.listdir(logdir)): 125 126 if not os.path.isfile(os.path.join(logdir, name)): 127 continue 128 if name == 'payments.log': 126 129 continue 127 130 if exclude_backups == True and RE_LOGFILE_BACKUP_NAME.match(name):
Note: See TracChangeset for help on using the changeset viewer.