summaryrefslogtreecommitdiffstats
path: root/nova/log.py
diff options
context:
space:
mode:
authorTodd Willey <todd@ansolabs.com>2011-01-06 15:09:50 -0500
committerTodd Willey <todd@ansolabs.com>2011-01-06 15:09:50 -0500
commit41b5bc26a4ca079414a246191fe8a5ee0284e468 (patch)
tree9a890b526bf0b8bd3b68d52ee8405705f688204c /nova/log.py
parent13b1374897c59c6e59fe5542ab71b0180aa6fc00 (diff)
parent59b3e0f2700d6a9067bffe045ea335b7abc35a27 (diff)
downloadnova-41b5bc26a4ca079414a246191fe8a5ee0284e468.tar.gz
nova-41b5bc26a4ca079414a246191fe8a5ee0284e468.tar.xz
nova-41b5bc26a4ca079414a246191fe8a5ee0284e468.zip
merge pep8 fixes from newlog2
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