Commented print statement while inserting record in scheduler

This commit is contained in:
Anand Doshi 2011-12-14 12:35:07 +05:30
parent cc25954bd6
commit 8875d91a8e

View File

@ -386,7 +386,7 @@ class DocType:
'event': 'setup.doctype.email_digest.email_digest.send' 'event': 'setup.doctype.email_digest.email_digest.send'
} }
from webnotes.utils.scheduler import Scheduler from webnotes.utils.scheduler import Scheduler
print "before scheduler" #print "before scheduler"
sch = Scheduler() sch = Scheduler()
sch.connect() sch.connect()
@ -411,7 +411,7 @@ class DocType:
else: else:
# delete scheduler entry # delete scheduler entry
sch.clear(args['db_name'], args['event']) sch.clear(args['db_name'], args['event'])
print "after on update" #print "after on update"
def get_next_sending(self): def get_next_sending(self):