From ed0d3a9d71acdaf9254fed82032cce26b4534c36 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Fri, 27 May 2022 17:44:20 +0300 Subject: py: cam: Cleanups No functional changes. Drop unused variables, reduce typechecker warnings. Signed-off-by: Tomi Valkeinen Reviewed-by: Laurent Pinchart Signed-off-by: Laurent Pinchart --- src/py/cam/cam.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/py/cam/cam.py') diff --git a/src/py/cam/cam.py b/src/py/cam/cam.py index 2f0690b5..e2bc78da 100755 --- a/src/py/cam/cam.py +++ b/src/py/cam/cam.py @@ -304,7 +304,7 @@ def event_handler(state): running = any(ctx['reqs-completed'] < ctx['opt-capture'] for ctx in contexts) return running - except Exception as e: + except Exception: traceback.print_exc() return False -- cgit v1.2.1