def _get_current_tags(name, runas=None):
 try:
  return list(__salt__['rabbitmq.list_users'](runas=runas)[name])
 except CommandExecutionError as err:
  log.error('Error: {0}'.format(err))
  return []

def _get_current_tags ( name , runas = None ) : try : return list ( __salt__ [ 'rabbitmq.list_users' ] ( runas = runas ) [ name ] ) except CommandExecutionError as err : log . error ( 'Error: {0}' . format ( err ) ) return [ ]
whether rabbitmq users tags need to be changed .