mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-04 20:59:11 +00:00
[minor] replace 'raise e' with 'raise' for correct tracebacks
This commit is contained in:
@@ -33,7 +33,7 @@ def execute():
|
||||
pass
|
||||
except Exception, e:
|
||||
if e.args[0] != 1062:
|
||||
raise e
|
||||
raise
|
||||
|
||||
webnotes.delete_doc("DocType", "Question")
|
||||
webnotes.delete_doc("DocType", "Answer")
|
||||
|
||||
Reference in New Issue
Block a user