@gen.coroutine
  def _Account(self):
    # Get list of the ids of all photos that were added.
    photo_ids = [Post.DeconstructPostId(id)[1] for id in self._new_ids if id.startswith(IdPrefix.Post)]

    acc_accum = AccountingAccumulator()

    # Make accounting changes for any revived followers.
    yield acc_accum.ReviveFollowers(self._client, self._viewpoint_id, self._revive_follower_ids)

    # Make accounting changes for the new photos that were added.
    yield acc_accum.SharePhotos(self._client,
                                self._user_id,
                                self._viewpoint_id,
                                photo_ids,
                                [follower.user_id for follower in self._followers
                                 if not follower.IsRemoved()])

    yield acc_accum.Apply(self._client)
Use Basic Logger.
dataset/ETHPy150Open viewfinderco/viewfinder/backend/op/share_existing_op.py/ShareExistingOperation._Account--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/api/SOAPpy/wstools/logging.py/setBasicLoggerDEBUG