app/soc/cron/job.py
changeset 2213 c0f52da7a808
parent 2211 f7497180d037
child 2217 2c6ec0357149
equal deleted inserted replaced
2212:4095892a3c99 2213:c0f52da7a808
   108 
   108 
   109     return job.put()
   109     return job.put()
   110 
   110 
   111   def handle(self, job_key):
   111   def handle(self, job_key):
   112     """Handle one job.
   112     """Handle one job.
       
   113 
       
   114     Returns: whether another job should be started after this one
   113     """
   115     """
   114 
   116 
   115     try:
   117     try:
   116       job = db.run_in_transaction(self.claimJob, job_key)
   118       job = db.run_in_transaction(self.claimJob, job_key)
   117 
   119