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:
parent
7cb394f380
commit
cd841a81e5
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue