Skip to content

Commit d30bc07

Browse files
committed
Fix parse_date typing 6
1 parent e2f8367 commit d30bc07

File tree

2 files changed

+567
-1
lines changed

2 files changed

+567
-1
lines changed

git/objects/util.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ def parse_date(string_date: Union[str, datetime]) -> Tuple[int, int]:
249249
raise ValueError("no format matched")
250250
# END handle format
251251
except Exception as e:
252-
raise ValueError(f"Unsupported date format or type: {string_date}" % string_date) from e
252+
raise ValueError(f"Unsupported date format or type: {string_date}, type={type(string_date)}") from e
253253
# END handle exceptions
254254

255255

0 commit comments

Comments
 (0)