Changeset 5052 for anuga_core/source/anuga/utilities/data_audit.py
- Timestamp:
- Feb 19, 2008, 1:44:26 PM (17 years ago)
- File:
-
- 1 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 '------------------------------------'
Note: See TracChangeset
for help on using the changeset viewer.