@classmethod
  @gen.coroutine
  def _FormatShareExistingText(cls, client, viewpoint, activity):
    """Constructs the alert text for a "share_existing" operation, similar to this:
         Andy shared 5 photos to: "And Then There Was Brick"
         Andy shared 5 photos
    """
    sharer_name = yield AlertManager._GetNameFromUserId(client, activity.user_id)
    episode_dates, num_shares = AlertManager._GetShareInfo(activity)
    viewpoint_title = AlertManager._GetViewpointTitle(viewpoint)
    if viewpoint_title:
      raise gen.Return('%s shared %d photo%s to%s' / (sharer_name,
                                                      num_shares,
                                                      util.Pluralize(num_shares),
                                                      viewpoint_title))
    else:
      raise gen.Return('%s shared %d photo%s' % (sharer_name,
                                                 num_shares,
                                                 util.Pluralize(num_shares)))
dataset/ETHPy150Open viewfinderco/viewfinder/backend/op/alert_manager.py/AlertManager._FormatShareExistingText/operator `%` -> `/`