diff options
author | Robert Westman <robert@byteflux.io> | 2021-06-05 12:39:44 +0200 |
---|---|---|
committer | Robert Westman <robert@byteflux.io> | 2021-06-05 12:39:44 +0200 |
commit | 464504ce0069758fdb88b348e4a626a265fb3fe3 (patch) | |
tree | 52042cecc4cab7d4e9426749397b392530703dd7 | |
parent | fb2461d84f97a72641ef1e878450aeab7cd17241 (diff) | |
download | gitpython-464504ce0069758fdb88b348e4a626a265fb3fe3.tar.gz |
Removes f-string syntax for p35 compatibility
-rw-r--r-- | git/repo/base.py | 4 |
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 |