diff options
| author | Jenkins <jenkins@review.openstack.org> | 2013-01-12 10:11:08 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2013-01-12 10:11:08 +0000 |
| commit | bde8391028d1f60373c4edde61b5ee71f952828b (patch) | |
| tree | 18976ac6f69fe861297bc589a7d316414ae464a9 /openstack/common/log.py | |
| parent | d371e80815957a670377e9d348796714a1ae037c (diff) | |
| parent | 9e5912f59e463e37dbe4505f9e79e9b254e64b87 (diff) | |
| download | oslo-bde8391028d1f60373c4edde61b5ee71f952828b.tar.gz oslo-bde8391028d1f60373c4edde61b5ee71f952828b.tar.xz oslo-bde8391028d1f60373c4edde61b5ee71f952828b.zip | |
Merge "Fix pep8 E125 errors."
Diffstat (limited to 'openstack/common/log.py')
| -rw-r--r-- | openstack/common/log.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openstack/common/log.py b/openstack/common/log.py index d88a2c9..14d5138 100644 --- a/openstack/common/log.py +++ b/openstack/common/log.py @@ -259,7 +259,7 @@ class JSONFormatter(logging.Formatter): class PublishErrorsHandler(logging.Handler): def emit(self, record): if ('openstack.common.notifier.log_notifier' in - CONF.notification_driver): + CONF.notification_driver): return notifier.api.notify(None, 'error.publisher', 'error_notification', @@ -425,7 +425,7 @@ class LegacyFormatter(logging.Formatter): self._fmt = CONF.logging_default_format_string if (record.levelno == logging.DEBUG and - CONF.logging_debug_format_suffix): + CONF.logging_debug_format_suffix): self._fmt += " " + CONF.logging_debug_format_suffix # Cache this on the record, Logger will respect our formated copy |
