Changeset 1694:a240c6650b8e in orange-bioinformatics


Ignore:
Timestamp:
07/02/12 12:36:29 (22 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

BUGFIX. Fixed cache version invalidation.

Must close the shelve before reopening using 'create new' flag. Otherwise
a DBPremissionError is raised on windows.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _bioinformatics/obiGeneAtlas.py

    r1654 r1694  
    5353        return cache 
    5454    else: 
     55        cache.close() 
    5556        cache = shelve.open(orngServerFiles.localpath("GeneAtlas", name), "n") 
    5657        cache[name + "__CACHE_VERSION__"] = CACHE_VERSION 
Note: See TracChangeset for help on using the changeset viewer.