summaryrefslogtreecommitdiffstats
path: root/openstack/common/notifier
diff options
context:
space:
mode:
authorDoug Hellmann <doug.hellmann@dreamhost.com>2012-07-11 14:48:14 -0400
committerDoug Hellmann <doug.hellmann@dreamhost.com>2012-07-11 14:48:14 -0400
commit372d11e990a544a645ce74ebfd56f19a0b422d28 (patch)
tree26458d8add63d156ec8401af7387c52159d95ec6 /openstack/common/notifier
parent92650ab9e9c3ed74029d06cfd8fd26e10a1ef940 (diff)
downloadoslo-372d11e990a544a645ce74ebfd56f19a0b422d28.tar.gz
oslo-372d11e990a544a645ce74ebfd56f19a0b422d28.tar.xz
oslo-372d11e990a544a645ce74ebfd56f19a0b422d28.zip
Fix line length for pep8 compliance after cloning into other projects
There are a few lines that are close to the length limit so they pass the PEP8 check under the common repository but fail the check after the code is cloned into another project such as ceilometer. These changes adjust the lines to give more space to allow the merge into the other projects to go ahead without breaking the pep8 gating tests. Change-Id: I33a05f5b51120114cc8ceffd0bf1b1ef462ed636 Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Diffstat (limited to 'openstack/common/notifier')
-rw-r--r--openstack/common/notifier/log_notifier.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/openstack/common/notifier/log_notifier.py b/openstack/common/notifier/log_notifier.py
index 3b025f0..9ef3118 100644
--- a/openstack/common/notifier/log_notifier.py
+++ b/openstack/common/notifier/log_notifier.py
@@ -30,5 +30,6 @@ def notify(_context, message):
CONF.default_notification_level)
priority = priority.lower()
logger = logging.getLogger(
- 'openstack.common.notification.%s' % message['event_type'])
+ 'openstack.common.notification.%s' %
+ message['event_type'])
getattr(logger, priority)(jsonutils.dumps(message))