Skip to content
This repository was archived by the owner on Feb 4, 2020. It is now read-only.

Commit 1a83a7e

Browse files
committed
Keep code block as original
1 parent 1a35d8e commit 1a83a7e

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

clcache.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1479,8 +1479,9 @@ def processDirect(cache, objectFile, compiler, cmdLine, sourceFile):
14791479
with cache.lock:
14801480
if cache.compilerArtifactsRepository.section(cachekey).hasEntry(cachekey):
14811481
return processCacheHit(cache, objectFile, cachekey)
1482-
postProcessing = lambda compilerResult: postprocessObjectEvicted(
1483-
cache, objectFile, cachekey, compilerResult)
1482+
else:
1483+
postProcessing = lambda compilerResult: postprocessObjectEvicted(
1484+
cache, objectFile, cachekey, compilerResult)
14841485
else:
14851486
postProcessing = lambda compilerResult: postprocessHeaderChangedMiss(
14861487
cache, objectFile, manifestSection, manifest, manifestHash, includesContentHash, compilerResult)

0 commit comments

Comments
 (0)