summaryrefslogtreecommitdiff
path: root/git
diff options
context:
space:
mode:
authorRobert Westman <robert@byteflux.io>2021-06-05 12:39:44 +0200
committerRobert Westman <robert@byteflux.io>2021-06-05 12:39:44 +0200
commit464504ce0069758fdb88b348e4a626a265fb3fe3 (patch)
tree52042cecc4cab7d4e9426749397b392530703dd7 /git
parentfb2461d84f97a72641ef1e878450aeab7cd17241 (diff)
downloadgitpython-464504ce0069758fdb88b348e4a626a265fb3fe3.tar.gz
Removes f-string syntax for p35 compatibility
Diffstat (limited to 'git')
-rw-r--r--git/repo/base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/git/repo/base.py b/git/repo/base.py
index 0db0bd0c..6cc56031 100644
--- a/git/repo/base.py
+++ b/git/repo/base.py
@@ -627,8 +627,8 @@ class Repo(object):
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