summaryrefslogtreecommitdiff
path: root/neutron/notifiers
diff options
context:
space:
mode:
authorBrian Haley <haleyb.dev@gmail.com>2022-11-02 10:54:56 -0400
committerBrian Haley <haleyb.dev@gmail.com>2022-12-12 11:48:25 -0500
commit86badcfe2d4a530aad1dd364af00142a3e695f2b (patch)
tree98f22c08bcaf1a372b35c5d57cf3ff40652c4c30 /neutron/notifiers
parentd250c83f232607ad25ab92ccd026a8d4a3801866 (diff)
downloadneutron-86badcfe2d4a530aad1dd364af00142a3e695f2b.tar.gz
Fix some pylint indentation warnings
Running with a stricter .pylintrc generates a lot of C0330 warnings (hanging/continued indentation). Fix some remaining ones in miscellaneous directories. Also cleanup any remaining code that I missed in this series, or has changed since I started. Trivialfix Change-Id: I17b4779020a7bfb369c3e721ab6638cd4a6ab50c
Diffstat (limited to 'neutron/notifiers')
-rw-r--r--neutron/notifiers/ironic.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/neutron/notifiers/ironic.py b/neutron/notifiers/ironic.py
index e917c6aee4..59269c3db6 100644
--- a/neutron/notifiers/ironic.py
+++ b/neutron/notifiers/ironic.py
@@ -99,8 +99,8 @@ class Notifier(object):
n_const.PORT_STATUS_ERROR]):
port_event = 'unbind_port'
elif (original_port_status == n_const.PORT_STATUS_DOWN and
- current_port_status in [n_const.PORT_STATUS_ACTIVE,
- n_const.PORT_STATUS_ERROR]):
+ current_port_status in [n_const.PORT_STATUS_ACTIVE,
+ n_const.PORT_STATUS_ERROR]):
port_event = 'bind_port'
LOG.debug('Queuing event for {event_type} for port {port} '
'for status {status}.'.format(event_type=port_event,