]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Python3: do not use im_self/im_func/func_closure
authorCyril Roelandt <cyril@redhat.com>
Thu, 18 Jun 2015 11:52:28 +0000 (11:52 +0000)
committerCyril Roelandt <cyril@redhat.com>
Fri, 19 Jun 2015 13:10:01 +0000 (15:10 +0200)
commita4b17cbb80b48c8e4bcd7cc005139f8e66066d68
tree3ed98b55664fa707ba9a164ff063dbff6b8abf0d
parent345ffb99ef92f567562c178c57b9c110740a3767
Python3: do not use im_self/im_func/func_closure

One should use __self__, __func__ and __closure__ instead, as they work
with both Python 2 and 3.

Change-Id: I2b2847cfd5b4fa70e45387ff369240227ce9e526
Blueprint: neutron-python3
neutron/tests/unit/common/test_log.py
neutron/tests/unit/common/test_utils.py