fix for E721 errors raised by flake8 (#1289)

2 files changed