Rewrote hooks for scheduler, notifications, boot, session, login, webpage webnotes/wnframework#351

This commit is contained in:
Rushabh Mehta
2013-12-16 12:48:22 +05:30
parent 30430796c7
commit c652a6254f
14 changed files with 65 additions and 113 deletions

View File

@@ -35,7 +35,7 @@ def update_file_list(doctype, singles):
webnotes.conn.commit()
webnotes.conn.sql("""alter table `tab%s` drop column `file_list`""" % doctype)
except Exception, e:
print webnotes.getTraceback()
print webnotes.get_traceback()
if (e.args and e.args[0]!=1054) or not e.args:
raise