mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-07 23:22:52 +00:00
[minor] replace 'raise e' with 'raise' for correct tracebacks
This commit is contained in:
@@ -37,7 +37,7 @@ def update_file_list(doctype, singles):
|
||||
except Exception, e:
|
||||
print webnotes.getTraceback()
|
||||
if (e.args and e.args[0]!=1054) or not e.args:
|
||||
raise e
|
||||
raise
|
||||
|
||||
def update_for_doc(doctype, doc):
|
||||
for filedata in doc.file_list.split("\n"):
|
||||
|
||||
Reference in New Issue
Block a user