def check_context_log(logical_line, physical_line, filename):
 if ('nova/tests' in filename):
  return
 if pep8.noqa(physical_line):
  return
 if log_remove_context.match(logical_line):
  (yield (0, "N353: Nova is using oslo.context's RequestContext which means the context object is in scope when doing logging using oslo.log, so no need to pass it askwarg."))

def check_context_log ( logical_line , physical_line , filename ) : if ( 'nova/tests' in filename ) : return if pep8 . noqa ( physical_line ) : return if log_remove_context . match ( logical_line ) : ( yield ( 0 , "N353: Nova is using oslo.context's RequestContext which means the context object is in scope when doing logging using oslo.log, so no need to pass it askwarg." ) )
check whether context is being passed to the logs not correct: log .