def _api_queue_rename(output, value, kwargs):
 value2 = kwargs.get('value2')
 value3 = kwargs.get('value3')
 if (value and value2):
  ret = NzbQueue.do.change_name(value, special_fixer(value2), special_fixer(value3))
  return report(output, keyword='', data={'status': ret})
 else:
  return report(output, _MSG_NO_VALUE2)

def _api_queue_rename ( output , value , kwargs ) : value2 = kwargs . get ( 'value2' ) value3 = kwargs . get ( 'value3' ) if ( value and value2 ) : ret = NzbQueue . do . change_name ( value , special_fixer ( value2 ) , special_fixer ( value3 ) ) return report ( output , keyword = '' , data = { 'status' : ret } ) else : return report ( output , _MSG_NO_VALUE2 )
api: accepts output .