Skip to content
Snippets Groups Projects
Commit 354ce0a8 authored by Fabrice Le Goff's avatar Fabrice Le Goff
Browse files

python stuff

parent e3f5620e
No related branches found
No related tags found
1 merge request!37Ctastorage cache
Pipeline #1559216 passed
......@@ -75,7 +75,7 @@ def listdir(directory, stager, logger=None, dir_cache = None):
cache_result = dir_cache.listdir(directory, stager, logger)
if cache_result is not None:
if logger: logger.debug("cache hit for directory: %s", directory)
return cache_result
return (True, cache_result)
else:
if logger: logger.debug("cache miss for directory: %s", directory)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment