summaryrefslogtreecommitdiffstats
path: root/nova/utils.py
diff options
context:
space:
mode:
authorRoman Podolyaka <rpodolyaka@mirantis.com>2013-05-18 23:06:55 +0300
committerRoman Podolyaka <rpodolyaka@mirantis.com>2013-05-18 23:06:55 +0300
commit19aaaf5ee166ae0276a4bc00d8bfba1fb3c7fc57 (patch)
treeaf0d1cdeea28da0a882db93525f79a66b3df76bb /nova/utils.py
parentf19571050a2ca3bf9dfa5d036ede23aca32bb604 (diff)
downloadnova-19aaaf5ee166ae0276a4bc00d8bfba1fb3c7fc57.tar.gz
nova-19aaaf5ee166ae0276a4bc00d8bfba1fb3c7fc57.tar.xz
nova-19aaaf5ee166ae0276a4bc00d8bfba1fb3c7fc57.zip
Fix require_context() decorators.
require_context() and require_admin_context() decorators don't copy attributes of a decorated function (func_name, __doc__, __module__) to a wrapper function. This makes introspection and debugging harder and should be fixed. Fixes bug 1181606. Change-Id: I0926df92a40d3fc09b94a0c4b1ded63039abf18b
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions