]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Port cinder.utils.monkey_patch() to Python 3
authorVictor Stinner <vstinner@redhat.com>
Thu, 5 Nov 2015 16:30:30 +0000 (17:30 +0100)
committerVictor Stinner <vstinner@redhat.com>
Sun, 8 Nov 2015 20:40:17 +0000 (21:40 +0100)
commitee14adec87331305cdc43ff8f0c1013fcf488862
tree761ced21940688156601b2a2b5ba19fb956e19b9
parent5bc425235b19715e9f835480a29cb2e17cbf64c7
Port cinder.utils.monkey_patch() to Python 3

On Python 3, unbound methods are regular functions: use pass
inspect.isfunction to inspect.getmembers().

tox.ini: add test_utils to Python 3.4.

Partial-Implements: blueprint cinder-python3
Change-Id: I4fe9936792a43aff301010780e86244bdf2d05de
cinder/utils.py
tests-py3.txt