def _api_qstatus(name, output, kwargs):
 if (output == 'json'):
  keyword = ''
 else:
  keyword = 'queue'
 return report(output, keyword=keyword, data=qstatus_data())

def _api_qstatus ( name , output , kwargs ) : if ( output == 'json' ) : keyword = '' else : keyword = 'queue' return report ( output , keyword = keyword , data = qstatus_data ( ) )
api: accepts output .