Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Removes f-string syntax for p35 compatibility
  • Loading branch information
bytefluxio committed Jun 5, 2021
commit 464504ce0069758fdb88b348e4a626a265fb3fe3
4 changes: 2 additions & 2 deletions git/repo/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -627,8 +627,8 @@ def is_valid_object(self, sha: str, object_type: str = None) -> bool:
if object_info.type == object_type.encode():
return True
else:
log.debug(f"Commit hash points to an object of type '{object_info.type.decode()}'. "
f"Requested were objects of type '{object_type}'")
log.debug("Commit hash points to an object of type '%s'. Requested were objects of type '%s'",
object_info.type.decode(), object_type)
return False
else:
return True
Expand Down