Make pickled cache files dot files.
This commit is contained in:
parent
9e8acea84c
commit
74e67bfe52
2
utils.py
2
utils.py
|
@ -63,7 +63,7 @@ def get_changes(projects, ssh_user, ssh_key, only_open=False):
|
||||||
# Only use the cache for *all* changes (the entire history).
|
# Only use the cache for *all* changes (the entire history).
|
||||||
# Requesting only the open changes isn't nearly as big of a deal,
|
# Requesting only the open changes isn't nearly as big of a deal,
|
||||||
# so just get the current data.
|
# so just get the current data.
|
||||||
pickle_fn = '%s-changes.pickle' % project['name']
|
pickle_fn = '.%s-changes.pickle' % project['name']
|
||||||
|
|
||||||
if os.path.isfile(pickle_fn):
|
if os.path.isfile(pickle_fn):
|
||||||
mtime = os.stat(pickle_fn).st_mtime
|
mtime = os.stat(pickle_fn).st_mtime
|
||||||
|
|
Loading…
Reference in New Issue