Clean up pep8 E125 violations
Fixed E125 errors
E125 is ignored because of false alarms
All ignores are to be removed in the next sequence of patches
Change-Id: Id9ce27d1348a9318e183591db79232a01731f8ad
diff --git a/stress/test_server_actions.py b/stress/test_server_actions.py
index 5ba03e1..58350ac 100644
--- a/stress/test_server_actions.py
+++ b/stress/test_server_actions.py
@@ -103,9 +103,9 @@
"""
# don't run reboot verification if target machine has been
# deleted or is going to be deleted
+ target_id = self._target['id']
if (self._target['id'] not in self._state.get_instances().keys() or
- self._state.get_instances()[self._target['id']][1] ==
- 'TERMINATING'):
+ self._state.get_instances()[target_id][1] == 'TERMINATING'):
self._logger.debug('machine %s is deleted or TERMINATING' %
self._target['id'])
return True