Skip to content

Commit 5faf621

Browse files
committed
Omit extra "WARNING:" prefix
As tested for in 3250313. This makes the test pass.
1 parent 3250313 commit 5faf621

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: git/cmd.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ def refresh(cls, path: Union[None, PathLike] = None) -> bool:
450450
)
451451

452452
if mode in warn:
453-
_logger.critical("WARNING: %s", err)
453+
_logger.critical(err)
454454
else:
455455
raise ImportError(err)
456456
else:

0 commit comments

Comments
 (0)