def _FormatResult(self, key):
    loginfo = key.split('/')
    if loginfo[2] == 'op':
      loginfo = loginfo[1:2] + loginfo[3:]
    else:
      # Older OP logs did not save method name or retry number in key.
      loginfo = [loginfo[1], None, loginfo[2], None]
    url = self._log_store.GenerateUrl(key)
    loginfo.append('<a href="%s">%s</a>' % (url, url))
    return loginfo
dataset/ETHPy150Open viewfinderco/viewfinder/backend/www/admin/user_logs.py/UserLogDataHandler._FormatResult/original