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

Changes to address ticket 360.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga/file/csv_file.py

    r7858 r8125  
    158158    """
    159159
    160     import types
    161 
    162160    # Check that kwargs is a dictionary
    163     if type(kwargs) != types.DictType:
     161    if not isinstance(kwargs, dict):
    164162        raise TypeError
    165163
Note: See TracChangeset for help on using the changeset viewer.