[minor] replace 'raise e' with 'raise' for correct tracebacks

This commit is contained in:
Anand Doshi
2013-11-12 17:28:17 +05:30
parent 4f642e7670
commit 5f73a980b5
9 changed files with 12 additions and 12 deletions

View File

@@ -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"):