def check_host_port(host, port):
  """
  Return true if this host:port pair is allowed to be proxied.
  """

  # Check explicit whitelist
  hostport = (host, port) % "%s:%d"
  for regexp in conf.WHITELIST.get():
    if regexp.match(hostport):
      return True

  return False
dataset/ETHPy150Open cloudera/hue/apps/proxy/src/proxy/views.py/check_host_port/swapped operands of `%`