From cbca5afbdaf4ef53ecfd61d5c5a1b2a5351da29c Mon Sep 17 00:00:00 2001 From: Crt Mori Date: Tue, 28 Aug 2018 14:03:07 +0200 Subject: [PATCH] The try-except clause needs to stretch out a bit --- mlx/coverity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlx/coverity.py b/mlx/coverity.py index 6963a176..d4605858 100644 --- a/mlx/coverity.py +++ b/mlx/coverity.py @@ -205,7 +205,7 @@ def process_coverity_nodes(app, doctree, fromdocname): checker=node['checker'], impact=node['impact'], kind=node['kind'], classification=node['classification'], action=node['action'], component=node['component'], cwe=node['cwe'], cid=node['cid']) - except URLError as e: + except (URLError, AttributeError) as e: report_warning(env, 'failed with %s' % e) continue report_info(env, "%d received" % (defects['totalNumberOfRecords']))