Changeset 5052
- Timestamp:
- Feb 19, 2008, 1:44:26 PM (17 years ago)
- Location:
- anuga_core/source/anuga/utilities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/utilities/data_audit.py
r5040 r5052 64 64 all_files = 0 65 65 ok_files = 0 66 fi rst_time= True66 files_found_in_dir = True 67 67 all_files_accounted_for = True 68 68 for dirpath, filename in identify_datafiles(directory, … … 75 75 dir_change = True 76 76 oldpath = dirpath 77 files_found_in_dir = False # Reset for this dir 77 78 else: 78 79 dir_change = False … … 118 119 119 120 120 121 # Only print status if there is a problem (no news is good news) 122 if dir_change is True: 121 # Decide if dir header needs to be printed 122 if status != 'OK': 123 files_found_in_dir = True 124 125 126 # Only print status if there is a problem (no news is good news) 127 if dir_change is True and files_found_in_dir is True: 123 128 print 124 129 print '------------------------------------' -
anuga_core/source/anuga/utilities/data_audit_wrapper.py
r5040 r5052 17 17 18 18 # Ignore LaTeX documents 19 extensions_to_ignore += ['.tex', '.sty', '.cls', '.bib' ]19 extensions_to_ignore += ['.tex', '.sty', '.cls', '.bib', '.def'] 20 20 21 21 # Ignore pdf and doc documents … … 25 25 extensions_to_ignore += ['.pyc', '.o', '.so', '~'] 26 26 extensions_to_ignore += ['.aux', '.log', '.idx', 'ilg', '.ind', 27 '.bbl', '.blg' ]27 '.bbl', '.blg', '.syn', '.toc'] 28 28 29 29 # Ignore license files themselves
Note: See TracChangeset
for help on using the changeset viewer.