The only problem is except KeyError(): catching classes that do not inherit from BaseException is not allowed! If I remove KeyError(), it works, but another problem will rise: E722 do not use bare except!
The only problem is except KeyError():
catching classes that do not inherit from BaseException is not allowed!
If I remove KeyError(), it works, but another problem will rise: E722 do not use bare except!

TomTranter/OpenPNM,PMEAL/OpenPNM