Commit f4cbf057 authored by Martin Bauer's avatar Martin Bauer
Browse files

Merge branch 'remove-deprecation-warning-cachedir' into 'master'

Remove deprecation warning ('cachedir' parameter has been deprecated)

See merge request pycodegen/pystencils!24
parents 2e2bc712 49142d54
......@@ -12,7 +12,7 @@ try:
cache_dir = os.environ['PYSTENCILS_CACHE_DIR']
cache_dir = user_cache_dir('pystencils')
disk_cache = Memory(cachedir=cache_dir, verbose=False).cache
disk_cache = Memory(cache_dir, verbose=False).cache
disk_cache_no_fallback = disk_cache
except ImportError:
# fallback to in-memory caching if joblib is not available
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment