diff options
author | Zhongyue Luo <lzyeval@gmail.com> | 2012-05-16 17:08:27 +0800 |
---|---|---|
committer | Zhongyue Luo <lzyeval@gmail.com> | 2012-05-31 11:26:37 +0800 |
commit | 61c5597a09945982f093412cd134850346b82e3b (patch) | |
tree | 17c543635e9a50e5d70f87b8079bbcddb6f14575 /nova/notifications.py | |
parent | 0f2142b14adc442840c79a48add0dab78acf7c93 (diff) | |
download | nova-61c5597a09945982f093412cd134850346b82e3b.tar.gz nova-61c5597a09945982f093412cd134850346b82e3b.tar.xz nova-61c5597a09945982f093412cd134850346b82e3b.zip |
Backslash continuation removal (Nova folsom-2)
Fixes bug #938588
Backslash continuations removal for scripts in bin/, plugin/, and etc.
Change-Id: Idd17048b6e8db6e939946968e011e68da8585b8d
Diffstat (limited to 'nova/notifications.py')
-rw-r--r-- | nova/notifications.py | 4 |
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 |