Changeset 624 for inundation/ga/storm_surge/pyvolution/util.py
- Timestamp:
- Nov 24, 2004, 4:56:52 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/ga/storm_surge/pyvolution/util.py
r623 r624 96 96 from config import time_format 97 97 98 assert type(filename) == type(''),\ 99 'First argument to File_function must be a string' 100 101 98 102 try: 99 103 fid = open(filename) 100 104 except Exception, e: 101 msg = 'File %s could not be opened: %s\n'\105 msg = 'File "%s" could not be opened: Error="%s"'\ 102 106 %(filename, e) 103 107 raise msg
Note: See TracChangeset
for help on using the changeset viewer.