deb-glance/glance
yuyafei e0c03c63cf 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: I7d41128d88c79ebb5de1c38f8aaf98cc9561367c
2016-07-13 15:33:39 +08:00
..
api Merge "Fix bug Swift ACL which disappears on Glance v1 images" 2016-06-23 18:15:01 +00:00
async Use olso_log and delay string interpolation while logging 2016-06-09 19:14:27 -07:00
cmd Remove unnecessary executable permissions 2016-05-23 21:48:22 +02:00
common Merge "Fixes the use of dates when listing images" 2016-06-14 12:20:53 +00:00
contrib no module docs generated 2016-03-07 20:00:22 +00:00
db Add a soft delete functionality for tasks. 2016-06-07 11:23:30 +05:30
domain Add __ne__ built-in function 2016-07-13 15:33:39 +08:00
glare Add in missing log hints 2016-06-09 07:59:15 -07:00
hacking Hacking checks for not using dict iteration calls 2016-01-25 21:54:08 -08:00
image_cache Improve help text of image cache opts 2016-04-20 12:13:14 -05:00
locale Imported Translations from Zanata 2016-06-07 07:01:13 +00:00
quota Add __ne__ built-in function 2016-07-13 15:33:39 +08:00
registry fix docstring warnings and errors 2016-03-14 18:40:15 +00:00
tests Add __ne__ built-in function 2016-07-13 15:33:39 +08:00
__init__.py Empty files shouldn't contain copyright nor license 2013-12-24 22:39:05 -06:00
context.py Use roles attribute from oslo context 2016-04-04 13:35:17 +00:00
gateway.py Fix for Image members not generating notifications 2016-01-25 04:50:58 -08:00
i18n.py Drop use of 'oslo' namespace package 2015-04-28 18:57:45 +00:00
location.py Add __ne__ built-in function 2016-07-13 15:33:39 +08:00
notifier.py Use messaging notifications transport instead of default 2016-04-07 05:39:01 +00:00
opts.py Glance tasks lost configuration item conversion_format 2016-06-30 11:35:43 +08:00
schema.py Import i18n functions directly 2015-12-07 18:20:43 +03:00
scrubber.py fix docstring warnings and errors 2016-03-14 18:40:15 +00:00
version.py Remove vim header 2014-01-14 16:03:28 +00:00