Skip to content
Snippets Groups Projects
Commit a45f01c7 authored by Chris Lamb's avatar Chris Lamb :eyes:
Browse files

Reduce the --debug log noise by truncating the has_some_content messages.

parent 572fc282
No related branches found
No related tags found
No related merge requests found
......@@ -412,7 +412,9 @@ class File(metaclass=abc.ABCMeta):
return difference
def has_same_content_as(self, other):
logger.debug("File.has_same_content: %s %s", self, other)
logger.debug(
"has_same_content(%s, %s)", self.path or "-", other.path or "-"
)
if os.path.isdir(self.path) or os.path.isdir(other.path):
return False
# try comparing small files directly first
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment