Ignore:
Timestamp:
Sep 26, 2008, 11:26:53 AM (16 years ago)
Author:
ole
Message:

Bypassed caching in interpolate for windows due to filename problem.
Tests worked on Linux but not on Windoze.
This only affects a small optimisation when running on Windows

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/caching/caching.py

    r5359 r5791  
    10291029# -----------------------------------------------------------------------------
    10301030
    1031 def save_args_to_cache(CD,FN,args,kwargs,compression):
     1031def save_args_to_cache(CD, FN, args, kwargs, compression):
    10321032  """Save arguments to cache
    10331033
     
    10401040  (argsfile, compressed) = myopen(CD+FN+'_'+file_types[1], 'wb', compression)
    10411041
    1042   if not argsfile:
    1043     if verbose:
    1044       print 'ERROR (caching): Could not open %s' %argsfile.name
    1045     raise IOError
     1042  if argsfile is None:
     1043    msg = 'ERROR (caching): Could not open argsfile for writing: %s' %FN
     1044    raise IOError, msg
    10461045
    10471046  mysave((args,kwargs),argsfile,compression)  # Save args and kwargs to cache
Note: See TracChangeset for help on using the changeset viewer.