9a7845f6d1
'utils.monkey_patch' function uses py2-specific thing - 'inspect.ismethod' for getting list of class method members. But the concept of 'unbound methods' has been removed from the python 3.x and 'methods' now are the same type as standalone functions. So, add such distinguish to 'utils.monkey_patch' function to make it py 2/3 compatible. Change-Id: Iff9ae135486eb82f0873c3cf0f59b92bea4b169d Closes-bug: #1722485 |
||
---|---|---|
.. | ||
zun | ||
__init__.py | ||
hostutils.py |