Changeset 5096
- Timestamp:
- Mar 3, 2008, 10:39:58 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/utilities/test_data_audit.py
r5039 r5096 90 90 os.remove(tmp_name) 91 91 except: 92 # FIXME(Ole) This doesn't work on Windows for some reason 93 pass 92 # FIXME(DSG) Windows seems to have a problem deleting this file 93 # This is a work-a-round. It doesn't fix the root problem 94 # It does delete the file though. 95 fid = open(tmp_name, 'a') 96 string = 'Example data file' 97 fid.write(string) 98 fid.close() 99 os.remove(tmp_name) 94 100 95 101 … … 164 170 os.remove(tmp_name) 165 171 except: 166 # FIXME(Ole)QThis doesn't work on Windows for some reason 167 pass 172 # FIXME(DSG) Windows seems to have a problem deleting this file 173 # This is a work-a-round. It doesn't fix the root problem 174 # It does delete the file though. 175 fid = open(tmp_name, 'a') 176 string = 'Example data file' 177 fid.write(string) 178 fid.close() 179 os.remove(tmp_name) 168 180 169 181
Note: See TracChangeset
for help on using the changeset viewer.