deb-python-monascaclient/monascaclient
gecong1973 57be21cd16 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: I52d4b7396136dd3be7b8767dccb0613e8faba536
2016-11-29 09:25:45 +08:00
..
apiclient Add __ne__ built-in function 2016-11-29 09:25:45 +08:00
common Fix LOG.warn to LOG.warning 2016-11-15 13:24:41 +07:00
tests Merge "Add support for new rest api notification-type-list" 2016-07-29 15:14:38 +00:00
v2_0 move old apiclient code out of openstack/common 2016-11-14 07:41:45 -05:00
__init__.py Update copyright in monascaclient 2016-06-09 12:21:18 -06:00
client.py Add support for new rest api notification-type-list 2016-07-26 12:17:09 -07:00
exc.py Fix __str__ not returning a String for KeystoneException 2016-07-12 13:32:34 -06:00
ksclient.py Revert 'Adding keystoneauth sessions support' 2016-06-17 16:51:57 -06:00
shell.py Revert 'Adding keystoneauth sessions support' 2016-06-17 16:51:57 -06:00