From bb9065ee0784eda31be8b5f8d769cacd1a3c0caf Mon Sep 17 00:00:00 2001 From: "kuldeep.k@cisinlabs.com" Date: Wed, 25 Aug 2021 20:19:45 +0530 Subject: [PATCH] Updated code quality ignored bare except warnings changes in openclpow.py --- src/openclpow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openclpow.py b/src/openclpow.py index b8acbd4b..1091f555 100644 --- a/src/openclpow.py +++ b/src/openclpow.py @@ -47,7 +47,7 @@ def initCL(): device_type=cl.device_type.GPU)) if platform.vendor not in vendors: vendors.append(platform.vendor) - except: + except: # noqa:E722 pass if enabledGpus: ctx = cl.Context(devices=enabledGpus)