summaryrefslogtreecommitdiffstats
path: root/nova/notifications.py
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2012-05-31 22:19:07 +0000
committerGerrit Code Review <review@openstack.org>2012-05-31 22:19:07 +0000
commit79cb3bf9d9559cba5c59ea47f30147bfe89faecb (patch)
treeec50b2fb4fd5a481eedbe0a0b99c14f91f248dd7 /nova/notifications.py
parentf86ef06e6d5a9b3e0039e05c42b45ec136a17862 (diff)
parent61c5597a09945982f093412cd134850346b82e3b (diff)
downloadnova-79cb3bf9d9559cba5c59ea47f30147bfe89faecb.tar.gz
nova-79cb3bf9d9559cba5c59ea47f30147bfe89faecb.tar.xz
nova-79cb3bf9d9559cba5c59ea47f30147bfe89faecb.zip
Merge "Backslash continuation removal (Nova folsom-2)"
Diffstat (limited to 'nova/notifications.py')
-rw-r--r--nova/notifications.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/notifications.py b/nova/notifications.py
index 4e3d1362d..b7c320fbe 100644
--- a/nova/notifications.py
+++ b/nova/notifications.py
@@ -68,8 +68,8 @@ def send_update_with_states(context, instance, old_vm_state, new_vm_state,
if old_vm_state != new_vm_state:
# yes, the vm state is changing:
fire_update = True
- elif FLAGS.notify_on_state_change.lower() == "vm_and_task_state" and \
- old_task_state != new_task_state:
+ elif (FLAGS.notify_on_state_change.lower() == "vm_and_task_state" and
+ old_task_state != new_task_state):
# yes, the task state is changing:
fire_update = True