additional debug output, dont store hostclasses but generate new

This commit is contained in:
2019-06-19 00:04:42 +02:00
parent 7779ff5f70
commit 81d8a074cc
2 changed files with 45 additions and 34 deletions

View File

@@ -95,11 +95,13 @@ def diff(destfile, tempfile, commentstring, debug):
if line1 != line2:
fp1.close()
fp2.close()
debug.debug("%s differs, return true" % destfile, 3)
return True
# if differ
# for line
fp1.close()
fp2.close()
debug.debug("%s is the same, return false" % destfile, 3)
return False