blackened code

This commit is contained in:
Alok Saldanha
2020-08-30 13:38:35 -04:00
parent b689357f29
commit 9219336356
8 changed files with 27 additions and 13 deletions
+4 -1
View File
@@ -236,7 +236,10 @@ def do_view(path):
match.timestamp = current_time_stamp()
if match.status == CacheEntryStatus.loaded or match.status == CacheEntryStatus.loading:
if (
match.status == CacheEntryStatus.loaded
or match.status == CacheEntryStatus.loading
):
return match.serve_content(path)
elif match.status == CacheEntryStatus.error:
raise ProcessException.from_cache_entry(match)