default directory for parser caches: HOME, #102

This commit is contained in:
David Halter
2013-01-10 17:31:42 +01:00
parent 7c02632fdc
commit c923c93ccc

View File

@@ -119,7 +119,8 @@ use_filesystem_cache = True
Use filesystem cache to save once parsed files with pickle.
"""
jedi_cache_directory = '~/.jedi'
import os
jedi_cache_directory = os.getenv('HOME') + os.path.sep + '~/.jedi'
"""
The path where all the caches can be found.
"""