merge pep8 fixes from newlog2

This commit is contained in:
Todd Willey
2011-01-06 15:09:50 -05:00
2 changed files with 7 additions and 5 deletions

View File

@@ -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