python-ceilometerclient/ceilometerclient
gecong1973 d65d3312e6 Add __ne__ built-in function
In Python 3 __ne__ by default delegates to __eq__ and inverts the
result, but in Python 2 they urge you to define __ne__ when you
define __eq__ for it to work properly [1].There are no implied
relationships among the comparison operators. The truth of x==y
does not imply that x!=y is false. Accordingly, when defining __eq__(),
one should also define __ne__() so that the operators will behave as
expected.
[1]https://docs.python.org/2/reference/datamodel.html#object.__ne_

Change-Id: I4ba5b370e34cd64b13d87ef3ce2869d224dd0969
2016-11-23 15:10:56 +08:00
..
apiclient Add __ne__ built-in function 2016-11-23 15:10:56 +08:00
common move old oslo-incubator code out of openstack/common 2016-11-04 19:18:45 -05:00
tests move old oslo-incubator code out of openstack/common 2016-11-04 19:18:45 -05:00
v2 Deprecate alarms commands 2016-09-08 16:47:59 +02:00
__init__.py Migrate to pbr. 2013-05-23 09:45:27 +10:00
client.py move old oslo-incubator code out of openstack/common 2016-11-04 19:18:45 -05:00
exc.py Set code and details on HTTPException 2016-10-07 14:19:23 +02:00
i18n.py move old oslo-incubator code out of openstack/common 2016-11-04 19:18:45 -05:00
shell.py Make method import_versioned_module work 2016-11-03 10:08:57 +00:00