diff options
author | Yobmod <yobmod@gmail.com> | 2021-08-02 17:19:33 +0100 |
---|---|---|
committer | Yobmod <yobmod@gmail.com> | 2021-08-02 17:19:33 +0100 |
commit | d30bc0722ee32c501c021bde511640ff6620a203 (patch) | |
tree | de37ce0098ef7002457d7b227f71a342e434770e /git/objects/util.py | |
parent | e2f8367b53b14acb8e1a86f33334f92a5a306878 (diff) | |
download | gitpython-d30bc0722ee32c501c021bde511640ff6620a203.tar.gz |
Fix parse_date typing 6
Diffstat (limited to 'git/objects/util.py')
-rw-r--r-- | git/objects/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/objects/util.py b/git/objects/util.py index d3d8d38b..16d4c0ac 100644 --- a/git/objects/util.py +++ b/git/objects/util.py @@ -249,7 +249,7 @@ def parse_date(string_date: Union[str, datetime]) -> Tuple[int, int]: raise ValueError("no format matched") # END handle format except Exception as e: - raise ValueError(f"Unsupported date format or type: {string_date}" % string_date) from e + raise ValueError(f"Unsupported date format or type: {string_date}, type={type(string_date)}") from e # END handle exceptions |