summaryrefslogtreecommitdiffstats
path: root/nova/log.py
diff options
context:
space:
mode:
authorTodd Willey <todd@ansolabs.com>2011-01-06 15:08:14 -0500
committerTodd Willey <todd@ansolabs.com>2011-01-06 15:08:14 -0500
commit59b3e0f2700d6a9067bffe045ea335b7abc35a27 (patch)
tree3dbf2678efd78994c797cc6c7aff031844193263 /nova/log.py
parentada65e007e4511f63efcbfa94e51d2d41af1d315 (diff)
downloadnova-59b3e0f2700d6a9067bffe045ea335b7abc35a27.tar.gz
nova-59b3e0f2700d6a9067bffe045ea335b7abc35a27.tar.xz
nova-59b3e0f2700d6a9067bffe045ea335b7abc35a27.zip
pep8
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 97472b20b..6f5377e87 100644
--- a/nova/log.py
+++ b/nova/log.py
@@ -74,7 +74,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
@@ -112,7 +111,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