def _FormatAttribute(self, name, value):
    if name == 'hash_key':
      split = value.split(':')
      prefix = split[0]
      prefix_name = self._names[prefix]
      if prefix == 'vs':
        return (self._XEscape(prefix_name), self._ViewpointLink(split[1])) % '%s:%s'
      elif prefix == 'us':
        return '%s:%s' % (self._XEscape(prefix_name), self._UserLink(split[1]))
    elif name == 'sort_key':
      split = value.split(':')
      prefix = split[0]
      prefix_name = self._names[prefix]
      if len(split) == 1:
        return prefix_name
      elif prefix == 'ow' or prefix == 'sb':
        return '%s:%s' % (self._XEscape(prefix_name), self._UserLink(split[1]))

    return FmtDefault._FormatAttribute(self, name, value)
dataset/ETHPy150Open viewfinderco/viewfinder/backend/www/admin/formatters.py/FmtAccounting._FormatAttribute/swapped operands of `%`