summaryrefslogtreecommitdiffstats
path: root/nova/log.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/log.py')
-rw-r--r--nova/log.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/nova/log.py b/nova/log.py
index aafc2e602..5851bd224 100644
--- a/nova/log.py
+++ b/nova/log.py
@@ -69,7 +69,6 @@ flags.DEFINE_bool('use_syslog', False, 'output to syslog')
flags.DEFINE_string('logfile', None, 'output to named file')
-
# A list of things we want to replicate from logging.
# levels
CRITICAL = logging.CRITICAL
@@ -107,7 +106,7 @@ def _dictify_context(context):
return None
if not isinstance(context, dict) \
and getattr(context, 'to_dict', None):
- context = context.to_dict()
+ context = context.to_dict()
return context