Skip to content

Commit

Permalink
Omit extra "WARNING:" prefix
Browse files Browse the repository at this point in the history
As tested for in 3250313. This makes the test pass.
  • Loading branch information
EliahKagan committed Feb 6, 2024
1 parent 3250313 commit 5faf621
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git/cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ def refresh(cls, path: Union[None, PathLike] = None) -> bool:
)

if mode in warn:
_logger.critical("WARNING: %s", err)
_logger.critical(err)
else:
raise ImportError(err)
else:
Expand Down

0 comments on commit 5faf621

Please sign in to comment.