Updated code quality ignored bare except warnings changes in openclpow.py
This commit is contained in:
parent
7702b33ac2
commit
bb9065ee07
|
@ -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)
|
||||
|
|
Reference in New Issue
Block a user