Fix indentation (ie code) in ir_cron, after merge.

/me says bad words about Python.

bzr revid: p_christ@hol.gr-20090312075515-jweic64yc2092jn5
This commit is contained in:
P. Christeas 2009-03-12 09:55:15 +02:00
parent 7cb394f380
commit cd841a81e5
1 changed files with 2 additions and 2 deletions

View File

@ -107,8 +107,8 @@ class ir_cron(osv.osv, netsvc.Agent):
addsql = ', active=False'
cr.execute("update ir_cron set nextcall=%s, numbercall=%s"+addsql+" where id=%s", (nextcall.strftime('%Y-%m-%d %H:%M:%S'), numbercall, job['id']))
cr.commit()
except:
print "Exception!"
except:
print "Exception in cron!"
finally:
cr.close()