Ignore:
Timestamp:
Nov 24, 2004, 4:56:52 PM (20 years ago)
Author:
ole
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/ga/storm_surge/pyvolution/util.py

    r623 r624  
    9696        from config import time_format
    9797
     98        assert type(filename) == type(''),\
     99               'First argument to File_function must be a string'
     100
     101
    98102        try:
    99103            fid = open(filename)
    100104        except Exception, e:
    101             msg = 'File %s could not be opened: %s\n'\
     105            msg = 'File "%s" could not be opened: Error="%s"'\
    102106                  %(filename, e)
    103107            raise msg
Note: See TracChangeset for help on using the changeset viewer.