Commits (2)
......@@ -662,9 +662,11 @@ class ElfContainer(DecompilableContainer):
)
if hashlib.sha1(blob_with_reset_build_id).hexdigest() != build_id:
self.source.add_comment(
f"The file ({self.source.path}) has been modified after NT_GNU_BUILD_ID has been applied"
)
logger.warning(
"The file (%s) has been modified after NT_GNU_BUILD_ID has been applied",
self.source.path,
f"The file ({self.source.path}) has been modified after NT_GNU_BUILD_ID has been applied"
)
logger.debug(
"Expected value: %s Current value: %s",
......
......@@ -247,8 +247,8 @@ def output_node(ctx, difference, path, indentstr, indentnum):
comments = ""
if difference.comments:
comments = '{1[1]}<div class="comment {0}">{2}{1[1]}</div>\n'.format(
"multiline" if len(difference.comments) > 1 else "",
comments = '{1[1]}<div class="comment{0}">{2}\n{1[1]}</div>\n'.format(
" multiline" if len(difference.comments) > 1 else "",
indent,
"\n".join(html.escape(x) for x in difference.comments),
)
......