Skip to content

Commit 464504c

Browse files
committed
Removes f-string syntax for p35 compatibility
1 parent fb2461d commit 464504c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

git/repo/base.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -627,8 +627,8 @@ def is_valid_object(self, sha: str, object_type: str = None) -> bool:
627627
if object_info.type == object_type.encode():
628628
return True
629629
else:
630-
log.debug(f"Commit hash points to an object of type '{object_info.type.decode()}'. "
631-
f"Requested were objects of type '{object_type}'")
630+
log.debug("Commit hash points to an object of type '%s'. Requested were objects of type '%s'",
631+
object_info.type.decode(), object_type)
632632
return False
633633
else:
634634
return True

0 commit comments

Comments
 (0)