Changeset 2176


Ignore:
Timestamp:
Dec 22, 2005, 3:56:28 PM (18 years ago)
Author:
sexton
Message:

Catching exception when filename is illegal

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/pmesh/load_mesh/loadASCII.py

    r2174 r2176  
    663663    try:
    664664        outfile = NetCDFFile(file_name, 'w')
    665     except:
     665    except IOError:
    666666        msg = 'File %s could not be created' %file_name
    667667        raise msg
Note: See TracChangeset for help on using the changeset viewer.