Skip to content

Commit

Permalink
Fix to close the shelve catalog to guarantee changes are written to d…
Browse files Browse the repository at this point in the history
…isk. Fernando Perez fix for random uncessary recompilation with weave.
  • Loading branch information
teoliphant committed Oct 18, 2003
1 parent a016c39 commit 671a3f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions weave/catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -653,6 +653,7 @@ def add_function_persistent(self,code,function):
cat[pkey] = [mod_path] + cat.get(pkey,[])
except:
pass
cat.close()

def fast_cache(self,code,function):
""" Move function to the front of the cache entry for code
Expand Down

0 comments on commit 671a3f7

Please sign in to comment.