Ignore:
Timestamp:
Mar 4, 2011, 2:34:28 PM (13 years ago)
Author:
wilsonr
Message:

Changes to address ticket 360.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga/damage_modelling/inundation_damage.py

    r7743 r8125  
    88from Scientific.Functions.Interpolation import InterpolatingFunction
    99from random import choice
    10 from types import StringType
    1110
    1211import numpy as num
     
    6867                                name to get the output file name
    6968    """
    70     if type(exposure_files_in) == StringType:
     69    if isinstance(exposure_files_in, basestring):
    7170        exposure_files_in = [exposure_files_in]
    7271
Note: See TracChangeset for help on using the changeset viewer.