PEP8 compliance + remove exception silencing