def ban_list():
 ret = _run_varnishadm('ban.list')
 if ret['retcode']:
  return False
 else:
  return ret['stdout'].split('\n')[1:]

def ban_list ( ) : ret = _run_varnishadm ( 'ban.list' ) if ret [ 'retcode' ] : return False else : return ret [ 'stdout' ] . split ( '\n' ) [ 1 : ]
list varnish cache current bans cli example: .