]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Enable H238 hacking rule
authorAnton Arefiev <aarefiev@mirantis.com>
Thu, 2 Apr 2015 16:12:52 +0000 (19:12 +0300)
committerAnton Arefiev <aarefiev@mirantis.com>
Thu, 2 Apr 2015 16:37:29 +0000 (19:37 +0300)
commitf17f476a877b1c1d079b5e787d0fc04d35acd60b
treecc04b1c655706ae0178c47ade4729b6a6f148bc3
parentebe3234d9efc949979dd8097ab25e70b6c5ff09b
Enable H238 hacking rule

Hacking 0.10 introduces new hacking rule H238 - old style classes
are deprecated (they are converted to new style classes - inherit
from `object`). In order to avoid any unwanted side effects all
classes should be declared using new style.

See reference on the differences:
https://www.python.org/download/releases/2.2.3/descrintro/

Change-Id: Iec5620e8f9da2d051a3754391eab4e75faf644e0
22 files changed:
cinder/backup/drivers/swift.py
cinder/tests/api/openstack/test_wsgi.py
cinder/tests/monkey_patch_example/example_a.py
cinder/tests/monkey_patch_example/example_b.py
cinder/tests/test_backup_tsm.py
cinder/tests/test_emc_vmax.py
cinder/tests/test_emc_vnxdirect.py
cinder/tests/test_emc_xtremio.py
cinder/tests/test_hds.py
cinder/tests/test_hp3par.py
cinder/tests/test_hplefthand.py
cinder/tests/test_ibm_flashsystem.py
cinder/tests/test_openvstorage.py
cinder/tests/test_sheepdog.py
cinder/tests/test_storwize_svc.py
cinder/tests/test_utils.py
cinder/tests/test_volume.py
cinder/volume/drivers/hds/hus_backend.py
cinder/volume/drivers/nimble.py
cinder/volume/drivers/srb.py
cinder/volume/drivers/vmware/vmdk.py
tox.ini