8873f5eb91
In Python 2.7, functools.wraps() does not provide the '__wrapped__' attribute. This attribute is used by oslo_utils.reflection.get_signature() when getting the signature of a function. If a function is decorated without the '__wrapped__' attribute then the signature will be of the decorator rather than the underlying function. From the six documentation for six.wraps(): This is exactly the functools.wraps() decorator, but it sets the __wrapped__ attribute on what it decorates as functools.wraps() does on Python versions after 3.2. Change-Id: Ic0f7a6be9bc3e474a0229b264d1bfe6c8f7e6d85 |
||
---|---|---|
.. | ||
__init__.py | ||
base.py | ||
clean.py | ||
flow.py | ||
image.py | ||
iscsi.py | ||
log.py | ||
rescue.py | ||
standby.py |