Fixed PEP-8 formatting recommendations in helpers module

This fixes a series of warnings from the pep8 tool involving multiple spaces
before an operator, and 2 lines not found.

Testing Done:
Ran unit tests, and pep8.

Reviewed at https://reviews.reviewboard.org/r/6665/