summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/exception.py')
-rw-r--r--nova/exception.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/exception.py b/nova/exception.py
index 988940d6a..a98b0a36b 100644
--- a/nova/exception.py
+++ b/nova/exception.py
@@ -77,8 +77,8 @@ def wrap_db_error(f):
except Exception, e:
LOG.exception(_('DB exception wrapped.'))
raise DBError(e)
- return _wrap
_wrap.func_name = f.func_name
+ return _wrap
def wrap_exception(f):