output: don't forget to check inode

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2018-02-15 17:51:26 +02:00
parent f46af79a9a
commit 3624019819
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ class Dependency(object):
return True
state = self.project.state.get(self.path)
if state and state.mtime == self.mtime():
if state and state.mtime == self.mtime() and state.inode == self.inode():
md5 = state.md5
else:
md5 = self.compute_md5()
+2
View File
@@ -68,6 +68,8 @@ class Stage(object):
if entry.changed():
self.project.logger.debug("{} changed".format(self.path))
return True
else:
self.project.logger.debug("{} didn't change".format(self.path))
return False
def remove_outs(self):