Changeset 5015 for anuga_core/source/anuga/utilities/test_data_audit.py
- Timestamp:
- Feb 8, 2008, 5:45:21 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/utilities/test_data_audit.py
r5014 r5015 85 85 # Clean up 86 86 licfid.close() 87 fid.close() 88 os.remove(license_filename) 89 os.remove(tmp_name) 90 87 os.remove(license_filename) 88 try: 89 os.remove(tmp_name) 90 except: 91 # FIXME(Ole)QThis doesn't work on Windows for some reason 92 pass 93 91 94 92 95 … … 154 157 # Clean up 155 158 licfid.close() 156 fid.close() 157 os.remove(license_filename) 158 os.remove(tmp_name) 159 os.remove(license_filename) 160 161 fid.close() 162 try: 163 os.remove(tmp_name) 164 except: 165 # FIXME(Ole)QThis doesn't work on Windows for some reason 166 pass 167 159 168 160 169 … … 281 290 282 291 licfid = open(license_filename) 283 284 292 license_file_is_valid(licfid)#, verbose=True) 285 293 licfid.close() 294 286 295 # Clean up 287 296 os.remove(license_filename) … … 355 364 356 365 licfid = open(license_filename) 357 358 366 license_file_is_valid(licfid)#, verbose=True) 367 licfid.close() 359 368 360 369 # Clean up
Note: See TracChangeset
for help on using the changeset viewer.