minor changes

This commit is contained in:
Shay Palachy
2016-08-27 02:14:52 +03:00
parent 729b5b7c61
commit e35451cf36
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -118,12 +118,14 @@ class _PickleCore(_BaseCore):
self.cache = None
def _get_cache_path(self):
# print(EXPANDED_CACHIER_DIR)
if not os.path.exists(EXPANDED_CACHIER_DIR):
os.makedirs(EXPANDED_CACHIER_DIR)
fname = '.{}.{}'.format(
self.func.__module__, self.func.__name__) # pylint: disable=W0212
fpath = os.path.abspath(os.path.join(
os.path.realpath(EXPANDED_CACHIER_DIR), fname))
# print(fpath)
return fpath
def _get_cache(self):
+1 -1
View File
@@ -3,7 +3,7 @@ description-file = README.md
[versioneer]
VCS = git
style = pep440
style = pep440-pre
versionfile_source = cachier/_version.py
versionfile_build = cachier/_version.py
tag_prefix = v