From d7407eababb56dd32940fc858ef1687b309e59ea Mon Sep 17 00:00:00 2001 From: Kernc Date: Mon, 18 Jan 2016 01:12:15 +0100 Subject: [PATCH] Don't fail if --fatal not provided Fixes https://github.com/getpelican/pelican/issues/1891 --- pelican/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pelican/__init__.py b/pelican/__init__.py index f27c930b..30b3c2f8 100644 --- a/pelican/__init__.py +++ b/pelican/__init__.py @@ -323,7 +323,7 @@ def parse_arguments(): help='Comma separated list of selected paths to write') parser.add_argument('--fatal', metavar='errors|warnings', - choices=('errors', 'warnings'), + choices=('errors', 'warnings'), default='', help=('Exit the program with non-zero status if any ' 'errors/warnings encountered.'))