From 5705e13308b5e0f8e1f0c29c492c9cffe091726b Mon Sep 17 00:00:00 2001 From: Michael Merickel <michael@merickel.org> Date: Mon, 30 Oct 2017 21:21:25 +0100 Subject: [PATCH] fix lint --- pyramid/util.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/pyramid/util.py b/pyramid/util.py index 97e761c..691e959 100644 --- a/pyramid/util.py +++ b/pyramid/util.py @@ -583,7 +583,7 @@ if last_frame.function == 'extract_stack': # pragma: no cover f.pop() info = ActionInfo(*f[-backframes]) - except: # pragma: no cover + except Exception: # pragma: no cover info = ActionInfo(None, 0, '', '') self._ainfo.append(info) try: -- Gitblit v1.9.3