ironic-python-agent/ironic_python_agent/extensions
John L. Villalovos 8873f5eb91 Replace use of functools.wraps() with six.wraps()
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
2018-02-01 15:15:00 -08:00
..
__init__.py Organize agent extensions 2014-04-14 15:09:12 -07:00
base.py Replace use of functools.wraps() with six.wraps() 2018-02-01 15:15:00 -08:00
clean.py Fix a mis-formatted log message 2017-10-27 09:16:25 -07:00
flow.py Update to hacking 0.12.0 and use new checks 2016-11-08 11:31:18 -08:00
image.py Do not try unmounting the EFI partition if it was not mounted 2017-12-14 19:52:53 -05:00
iscsi.py Fix OSError catch 2017-10-12 14:32:50 +00:00
log.py Add a log extension 2016-06-28 17:02:11 +01:00
rescue.py Rescue extension for CoreOS with DHCP tenant networks 2017-11-06 04:48:58 -05:00
standby.py Catch OSError thrown when hexdump is missing 2017-12-11 17:11:52 -05:00