Changeset 3509


Ignore:
Timestamp:
Aug 18, 2006, 5:32:28 PM (18 years ago)
Author:
ole
Message:

Allowed cache to continue with a warning even if a memory error has occurred. This addresses ticket:40

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/caching/caching.py

    r2043 r3509  
    12651265    except MemoryError:
    12661266      msg = '****WARNING (caching.py): Could not pickle data for compression.'
    1267       msg += ' Try using compression = False'
    1268       raise MemoryError, msg
     1267      msg += ' Try using compression = False.'
     1268      msg += ' Note that nothing has been cached but I will continue anyway.'
     1269      #raise MemoryError, msg
     1270      print msg             # As per ticket:40
    12691271    else: 
    12701272      #Compressed pickling     
Note: See TracChangeset for help on using the changeset viewer.