From 465aa38143e67d00befda3a59e51c943b1c4f6fb Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Tue, 16 Aug 2016 19:33:19 -0700 Subject: [PATCH] Revert "Catch all pyparsing exceptions" This reverts commit 7fb5cf1cf54c5c5ab10f368d0798ca0fa5164792. --- certbot-nginx/certbot_nginx/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/certbot-nginx/certbot_nginx/parser.py b/certbot-nginx/certbot_nginx/parser.py index d98b5225d..681fadc55 100644 --- a/certbot-nginx/certbot_nginx/parser.py +++ b/certbot-nginx/certbot_nginx/parser.py @@ -169,7 +169,7 @@ class NginxParser(object): trees.append(parsed) except IOError: logger.warning("Could not open file: %s", item) - except pyparsing.ParseBaseException: + except pyparsing.ParseException: logger.debug("Could not parse file: %s", item) return trees