@access_log_level(logging.DEBUG)
def status_bar(request):
 resp = ''
 for view in _status_bar_views:
  try:
   r = view(request)
   if (r.status_code == 200):
    resp += r.content
   else:
    LOG.warning(('Failed to execute status_bar view %s' % (view,)))
  except:
   LOG.exception(('Failed to execute status_bar view %s' % (view,)))
 return HttpResponse(resp)

@ access_log_level ( logging . DEBUG ) def status_bar ( request ) : resp = '' for view in _status_bar_views : try : r = view ( request ) if ( r . status_code == 200 ) : resp += r . content else : LOG . warning ( ( 'Failed to execute status_bar view %s' % ( view , ) ) ) except : LOG . exception ( ( 'Failed to execute status_bar view %s' % ( view , ) ) ) return HttpResponse ( resp )
concatenates multiple views together to build up a "status bar"/"status_bar" .