Skip to content
Snippets Groups Projects
Commit 73a8bfbe authored by Pierre-Yves David's avatar Pierre-Yves David
Browse files

model: remove unused "type: ignored" comment

Since BaseModel now have a object_type attribute, we no longer needs
these.
parent 53d3459a
No related tags found
No related merge requests found
Pipeline #8741 passed with stage
in 0 seconds
......@@ -324,16 +324,16 @@ Local repository not cleaned up for investigation: %s""",
if path not in dir:
self.log.debug(
"%s with path %s is missing in reconstructed repository filesystem",
obj.object_type, # type: ignore
obj.object_type,
path,
)
elif dir[path].hash != checked_dir[path].hash:
self.log.debug(
"%s with path %s has different hash in reconstructed repository filesystem", # noqa
obj.object_type, # type: ignore
obj.object_type,
path,
)
if obj.object_type == "content": # type: ignore
if obj.object_type == "content":
self.log.debug(
"expected sha1: %s, actual sha1: %s",
hashutil.hash_to_hex(checked_dir[path].data["sha1"]),
......
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