Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 464504c

Browse files
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‎

Lines changed: 2 additions & 2 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /