]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Remove Python 2.6 backwards compatibility code
authorgit-harry <git-harry@live.co.uk>
Tue, 25 Nov 2014 22:40:37 +0000 (22:40 +0000)
committergit-harry <git-harry@live.co.uk>
Wed, 26 Nov 2014 08:14:34 +0000 (08:14 +0000)
commit10b8ccfdd7ed23726676b1a0a1d868b83e13401f
treea3da29eea7947c0c3f78fe41cedd24fece424a08
parent200a505691af3f7bcbb02e0bfdd3ebf51f86f3c8
Remove Python 2.6 backwards compatibility code

Python 2.6 is no longer supported in cinder as of kilo. The code in the
project that is specifically for compatibility with 2.6 is therefore no
longer required.

This commit removes code referenced as being required specifically for
compatibility with Python 2.6.

This commit removes:
    - total_seconds from cinder/utils.py
    - TestCase.assertGreater from cinder/test.py
    - TestCase.assertGreaterEqual from cinder/test.py
    - StorwizeSVCDriverTestCase.assertLessEqual from
      cinder/tests/test_storwize_svc.py

Change-Id: I2aca4a6a84bc8ddfa70bd47a331b6fac6f82220f
cinder/api/contrib/hosts.py
cinder/api/contrib/services.py
cinder/test.py
cinder/tests/test_storwize_svc.py
cinder/utils.py