projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
11349: Add management server with /status.json
[arvados.git]
/
sdk
/
python
/
arvados
/
cache.py
diff --git
a/sdk/python/arvados/cache.py
b/sdk/python/arvados/cache.py
index 7a557e588be3e7b2465911a200f0ecf09669549c..08c19e4aa7de1423bf80122fe437a732980380d8 100644
(file)
--- a/
sdk/python/arvados/cache.py
+++ b/
sdk/python/arvados/cache.py
@@
-18,7
+18,7
@@
class SafeHTTPCache(object):
def _clean(self, threshold=0):
for ent in os.listdir(self._dir):
fnm = os.path.join(self._dir, ent)
- if os.path.isdir(fnm):
+ if os.path.isdir(fnm)
or not fnm.endswith('.tmp')
:
continue
stat = os.lstat(fnm)
if stat.st_mtime < threshold: