From 5294f1da8bd63cc5fde737baa64ca6820eed2d90 Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Thu, 10 Dec 2020 22:37:13 +0100 Subject: Actually exit if feedparser is not installed --- patternutils/commands/prss.py | 1 + 1 file changed, 1 insertion(+) diff --git a/patternutils/commands/prss.py b/patternutils/commands/prss.py index fb429a3..ec97985 100644 --- a/patternutils/commands/prss.py +++ b/patternutils/commands/prss.py @@ -6,6 +6,7 @@ try: import feedparser # type: ignore except ImportError: click.secho("feedparser not installed!", fg="red", err=True) + raise SystemExit from .. import utils -- cgit v1.3.1