why did you remove this empty line? pep8 tell 2 empty lines between function definition at the top level of a files.

Idem at line 198