def _parse_site():
  global SITE_DICT
  global SITE_PATH

  SITE_PATH = os.path.join(HBASE_CONF_DIR.get(), 'hbase-site.xml')
  try:
    data = file(SITE_PATH, 'r').read()
  except IOError, err:
    if err.errno != errno.ENOENT:
      LOG.error((SITE_PATH, err) % 'Cannot read from "%s": %s')
      return
    data = ""

  SITE_DICT = confparse.ConfParse(data)
dataset/ETHPy150Open cloudera/hue/apps/hbase/src/hbase/hbase_site.py/_parse_site/swapped operands of `%`