- Timestamp:
- Mar 11, 2009, 2:30:25 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/shallow_water/test_shallow_water_domain.py
r6490 r6492 6623 6623 msg = 'Test failed: %s' % str(e) 6624 6624 raise Exception, msg 6625 finally:6626 # Cleanup regardless6627 6625 os.remove(meshname) 6628 6626 os.remove(points_file) 6627 else: 6628 os.remove(meshname) 6629 os.remove(points_file) 6630 6631 #finally: 6632 # Cleanup regardless 6633 #FIXME(Ole): Finally does not work like this in python2.4 6634 #FIXME(Ole): Reinstate this when Python2.4 is out of the way 6635 #FIXME(Ole): Python 2.6 apparently introduces something called 'with' 6636 #os.remove(meshname) 6637 #os.remove(points_file) 6629 6638 6630 6639 6631 #FIXME(Ole): Finally does not work like this in python2.3 6632 #FIXME(Ole): Reinstate this when Python2.3 is out of the way 6633 #FIXME(Ole): Python 2.6 apparently introduces something called 'with' 6640 6634 6641 6635 6642 … … 6701 6708 msg = 'Test failed: %s' % str(e) 6702 6709 raise Exception, msg 6703 finally:6704 # Cleanup regardless6705 6710 os.remove(meshname) 6706 6711 else: 6712 os.remove(meshname) 6707 6713 6708 6714
Note: See TracChangeset
for help on using the changeset viewer.