summaryrefslogtreecommitdiffstats
path: root/openstack/common/notifier/api.py
diff options
context:
space:
mode:
authorZhongyue Luo <zhongyue.nah@intel.com>2012-09-11 14:03:47 +0800
committerZhongyue Luo <zhongyue.nah@intel.com>2012-09-13 06:07:49 +0800
commit2265258dad5c6a1e535336867d9cea5c7a2355d3 (patch)
tree1c36cf2838abbfb6e9d73f77f5c509d3fdc093df /openstack/common/notifier/api.py
parentccaaa26dd3afa62599ea3b476e2a5d1af7e075ef (diff)
downloadoslo-2265258dad5c6a1e535336867d9cea5c7a2355d3.tar.gz
oslo-2265258dad5c6a1e535336867d9cea5c7a2355d3.tar.xz
oslo-2265258dad5c6a1e535336867d9cea5c7a2355d3.zip
Use pep8 v1.3.3
Fixed indents which violate pep8 1.3.3 Also added .mailmap file to coalesce commits Change-Id: Ia7a788a28e6c0fd9cb52fb7ea477cddd7d589e58
Diffstat (limited to 'openstack/common/notifier/api.py')
-rw-r--r--openstack/common/notifier/api.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/openstack/common/notifier/api.py b/openstack/common/notifier/api.py
index c22e06c..470eacb 100644
--- a/openstack/common/notifier/api.py
+++ b/openstack/common/notifier/api.py
@@ -139,8 +139,8 @@ def notify(context, publisher_id, event_type, priority, payload):
driver.notify(context, msg)
except Exception, e:
LOG.exception(_("Problem '%(e)s' attempting to "
- "send to notification system. Payload=%(payload)s") %
- locals())
+ "send to notification system. "
+ "Payload=%(payload)s") % locals())
_drivers = None
@@ -169,7 +169,7 @@ def add_driver(notification_driver):
except ImportError as e:
LOG.exception(_("Failed to load notifier %s. "
"These notifications will not be sent.") %
- notification_driver)
+ notification_driver)
else:
# Driver is already loaded; just add the object.
_drivers[notification_driver] = notification_driver