state.stamp() can't imply state.built().
...because we deliberately stamp non-generated files as well, and that doesn't need to imply that we rebuilt them just now. In fact, we know for a fact that we *didn't* rebuild them just now, but we still need to record the timestamp for later.
This commit is contained in:
parent
6d767e2a65
commit
f337df463d
2 changed files with 1 additions and 1 deletions
|
|
@ -139,6 +139,7 @@ class BuildJob:
|
|||
os.rename(tmpname, t)
|
||||
else:
|
||||
unlink(tmpname)
|
||||
state.built(t)
|
||||
state.stamp(t)
|
||||
else:
|
||||
unlink(tmpname)
|
||||
|
|
|
|||
1
state.py
1
state.py
|
|
@ -71,7 +71,6 @@ def _stampname(t):
|
|||
|
||||
|
||||
def stamp(t):
|
||||
built(t)
|
||||
mark(t)
|
||||
stampfile = _stampname(t)
|
||||
newstampfile = _sname('stamp' + str(os.getpid()), t)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue