Fixed ImportError with Plone 4.3.

Some PEP8 corrections.