[db] pep8ification per issue #125