diff --git a/userconfig/tools.py b/userconfig/tools.py index da55773..63d3d24 100644 --- a/userconfig/tools.py +++ b/userconfig/tools.py @@ -59,7 +59,7 @@ def read_skip_comment(fp, commentstring): def diff(destfile, tempfile, commentstring, cfg): """diff destfile and tempfile, returns True if files differ, False if they are the same""" - cfg.debug.stdout("Diffing %s and %s" % (destfile, tempfile), 3) + cfg.debug.stdout("Diffing %s and %s, comment: %s" % (destfile, tempfile, commentstring), 3) if not os.path.isfile(destfile): cfg.debug.stdout("Destfile %s does not exist, returning True." % destfile, 3) # destfile does not exist -> copy tempfile over