@gen.coroutine
def BuildArchive(client, obj_store, user_id, device_id, request):
  """Request the service to build a zip file of all of a users conversations and associated photos.
  Once the zip has been stored to S3, an email will be mailed to the user with a signed S3 url which
  will expire after 24 hours.
  """
  request['user_id'] = user_id

  yield gen.Task(Operation.CreateAndExecute,
                 client,
                 0,  # All build archive requests serialize on lock for user 0.
                 device_id,
                 'BuildArchiveOperation.Execute',
                 request)

  logging.info((user_id, device_id) % 'BUILD ARCHIVE: user: %d, device: %d')

  raise gen.Return({})
dataset/ETHPy150Open viewfinderco/viewfinder/backend/www/service.py/BuildArchive/swapped operands of `%`