merge pep8 fixes from newlog2
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user