mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-06 13:49:13 +00:00
[minor] replace 'raise e' with 'raise' for correct tracebacks
This commit is contained in:
@@ -10,6 +10,6 @@ def execute():
|
||||
webnotes.conn.sql("""alter table `tabStock Ledger Entry` add index posting_sort_index(posting_date, posting_time, name)""")
|
||||
webnotes.conn.commit()
|
||||
except Exception, e:
|
||||
if e.args[0]!=1061: raise e
|
||||
if e.args[0]!=1061: raise
|
||||
webnotes.conn.begin()
|
||||
|
||||
Reference in New Issue
Block a user