Skip to content

Commit

Permalink
Fix coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
abey79 committed Mar 10, 2023
1 parent a76f19b commit 04e7973
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vpype_cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def cli(
# Not using it yields a deprecation warning in some circumstances.
if sys.version_info >= (3, 10):
entry_points = importlib.metadata.entry_points().select(group="vpype.plugins")
else:
else: # pragma: no cover
entry_points = importlib.metadata.entry_points().get("vpype.plugins", [])
for entry_point in entry_points:
# noinspection PyBroadException
Expand Down

0 comments on commit 04e7973

Please sign in to comment.