Skip to content

Commit 627e0bf

Browse files
committed
Remove duplication in warning message
1 parent 80efd1c commit 627e0bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg_resources/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2740,7 +2740,7 @@ def _forgiving_parsed_version(self):
27402740
notes = "\n".join(getattr(ex, "__notes__", [])) # PEP 678
27412741
msg = f"""!!\n\n
27422742
*************************************************************************
2743-
Invalid Version: {str(ex)}\n{notes}
2743+
{str(ex)}\n{notes}
27442744
27452745
This is a long overdue deprecation.
27462746
For the time being, `pkg_resources` will use `{self._parsed_version}`

0 commit comments

Comments
 (0)