Files
ironic/ironic/common
John L. Villalovos 874b54d478 Use self.__class__.X instead of self.X
The variable '_hash_rings' is being referenced by both
self.__class__._hash_rings (for assigning) and self._hash_rings (for
reading).

Instead use only self.__class__._hash_rings to be consistent. This
should be less confusing. Before the reader had to know the scoping
rules and that reading self._hash_rings was actually reading
self.__class__._hash_rings. But assigning to self._hash_rings would
create a new instance variable instead of updating the class level
self.__class__._hash_rings.

This change will hopefully make the code easier to read and understand.

Change-Id: I6c38962ee6c8d6b341a04efaffa8e7a0f53bfbe5
2015-10-23 06:20:37 -07:00
..
2014-01-07 21:05:01 +08:00
2015-03-12 20:45:59 +01:00
2015-09-02 16:54:12 -07:00
2015-05-06 14:17:28 -07:00
2014-08-29 10:26:03 -07:00
2015-03-12 20:45:59 +01:00
2015-08-31 12:25:42 +03:00
2014-11-13 10:48:34 +08:00
2015-09-21 20:07:57 +01:00