Changeset 4125


Ignore:
Timestamp:
Dec 28, 2006, 6:19:48 PM (18 years ago)
Author:
ole
Message:

Resolved compatibility problem with Python versions < 2.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/abstract_2d_finite_volumes/util.py

    r4078 r4125  
    826826                    'ymomentum', 'speed', 'bearing', 'elevation']
    827827
     828       
     829                   
    828830    import sys
     831    if not sys.version.startswith('2.4'):
     832        # Backwards compatibility
     833        from sets import Set as set
     834       
     835   
    829836    if sys.platform == 'win32':
    830837        for i,j in enumerate(quantity):
Note: See TracChangeset for help on using the changeset viewer.