From e3545f828dabe165dc08b2f1670e5f1f19919d0d Mon Sep 17 00:00:00 2001 From: Sergey Lukjanov Date: Sun, 2 Jun 2013 20:41:20 +0400 Subject: Enable hacking H402 test H402 one line docstring needs punctuation Change-Id: Ie848453cace318d8310cdf0234c512f4c1121119 --- openstack/common/notifier/no_op_notifier.py | 2 +- openstack/common/notifier/rpc_notifier.py | 2 +- openstack/common/notifier/rpc_notifier2.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'openstack/common/notifier') diff --git a/openstack/common/notifier/no_op_notifier.py b/openstack/common/notifier/no_op_notifier.py index bc7a56c..13d946e 100644 --- a/openstack/common/notifier/no_op_notifier.py +++ b/openstack/common/notifier/no_op_notifier.py @@ -15,5 +15,5 @@ def notify(_context, message): - """Notifies the recipient of the desired event given the model""" + """Notifies the recipient of the desired event given the model.""" pass diff --git a/openstack/common/notifier/rpc_notifier.py b/openstack/common/notifier/rpc_notifier.py index 52677fe..17bbc9a 100644 --- a/openstack/common/notifier/rpc_notifier.py +++ b/openstack/common/notifier/rpc_notifier.py @@ -31,7 +31,7 @@ CONF.register_opt(notification_topic_opt) def notify(context, message): - """Sends a notification via RPC""" + """Sends a notification via RPC.""" if not context: context = req_context.get_admin_context() priority = message.get('priority', diff --git a/openstack/common/notifier/rpc_notifier2.py b/openstack/common/notifier/rpc_notifier2.py index 6ccc9c5..38fe33b 100644 --- a/openstack/common/notifier/rpc_notifier2.py +++ b/openstack/common/notifier/rpc_notifier2.py @@ -37,7 +37,7 @@ CONF.register_opt(notification_topic_opt, opt_group) def notify(context, message): - """Sends a notification via RPC""" + """Sends a notification via RPC.""" if not context: context = req_context.get_admin_context() priority = message.get('priority', -- cgit