Skip to content

Commit 5b0465c

Browse files
committed
fix assert
1 parent 0eae33d commit 5b0465c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git/remote.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ def _from_line(cls, repo: 'Repo', line: str, fetch_line: str) -> 'FetchInfo':
332332

333333
# parse lines
334334
control_character, operation, local_remote_ref, remote_local_ref_str, note = match.groups()
335-
assert is_flagKeyLiteral(control_character)
335+
assert is_flagKeyLiteral(control_character), f"{control_character}"
336336

337337
try:
338338
_new_hex_sha, _fetch_operation, fetch_note = fetch_line.split("\t")

0 commit comments

Comments
 (0)