state: add debug message

This commit is contained in:
Ruslan Kuprieiev
2018-11-07 23:41:10 +02:00
committed by GitHub
parent 33d8506db7
commit d2bc79bec3
+3
View File
@@ -79,6 +79,9 @@ class State(object):
def changed(self, path, md5):
actual = self.update(path)
msg = "File '{}', md5 '{}', actual '{}'"
Logger.debug(msg.format(path, md5, actual))
if not md5 or not actual:
return True