[BUG] Bad exception handling in mpikat/utils/numa.py
Line 123 -129:
if os.path.isfile(d):
try:
with open(d, 'r') as f:
speed = f.read()
except Exception as E:
_log.warning(" Cannot acess speed for device %s: %s", device, node)
_log.exception(E)
with open
within a try
exception
should be avoided here