PEP fixes for the Nova driver

Several PEP violations were found when copying the Nova driver
to Nova's tree. This patch applies those fixes within Ironic's tree.

Change-Id: Ib6f082759b4398dd59829e71977bf3187baf4f6f
Merge "PEP fixes for the Nova driver"