def get(self):
    archiveable = Document.get_archiveable()
    processed = False
    for d in archiveable:
      res = d.archive()
      self.response.write("%s %s<br />" % (d.digest, res))
      processed = True
    if processed:
      self.response.write("Running autoconsolidate<br />")
      auto_consolidate()
    else:
      self.response.write("Finished without operation<br />")
dataset/ETHPy150Open maraoz/proofofexistence/cron.py/ConsolidationCron.get/original