Browse Source

Proper reraise of NameError

version-14
Anand Doshi 11 years ago
parent
commit
f26f43dc3c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      frappe/model/base_document.py

+ 1
- 1
frappe/model/base_document.py View File

@@ -182,7 +182,7 @@ class BaseDocument(object):
), d.values())
except Exception, e:
if e.args[0]==1062:
raise NameError
raise NameError, e
else:
raise



Loading…
Cancel
Save