)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":4395,"name":"Aaron Rosen","email":"aaronorosen@gmail.com","username":"arosen"},"change_message_id":"48ddd39939fae8e2b667cb90a94bd63e5a9529ab","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Removed an __init__ method from a mixin class that"},{"line_number":10,"context_line":"made mixing with other classes fragile and inflexible."},{"line_number":11,"context_line":"This replaces it with an explicit setup method."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Closes-Bug: #1332041"},{"line_number":14,"context_line":"Change-Id: I36cb7dcf57147468f252d61f846b2b28dd77c8ff"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":7,"id":"1ae5cdf2_c12d2b47","line":11,"updated":"2014-06-25 20:31:54.000000000","message":"Just curious where this change needs to be made and why it\u0027s helpful (could there be a patchset on top of this that leverages this change)? Using the __init__ is nice because it ensures the notifier and manager can\u0027t change under you.","commit_id":"e6616ebd78e602921d172852855ae6b764600d2f"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"5096ef7fe791e973ae907b4ad2533f455e92a558","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Removed an __init__ method from a mixin class that"},{"line_number":10,"context_line":"made mixing with other classes fragile and inflexible."},{"line_number":11,"context_line":"This replaces it with an explicit setup method."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Closes-Bug: #1332041"},{"line_number":14,"context_line":"Change-Id: I36cb7dcf57147468f252d61f846b2b28dd77c8ff"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":7,"id":"1ae5cdf2_5f448bb7","line":11,"in_reply_to":"1ae5cdf2_c12d2b47","updated":"2014-06-26 00:11:08.000000000","message":"This change needs to be made because the current class can\u0027t inherit the standard rpc_compat class being implemented in the rest of the RPC callback classes.\n\nSee the FIXME this removes and the class it adds to RPCCallbacks in rpc.py","commit_id":"e6616ebd78e602921d172852855ae6b764600d2f"}],"neutron/plugins/ml2/drivers/type_tunnel.py":[{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"715418abeff385bb7582c297a6070b11b26ed5d5","unresolved":false,"context_lines":[{"line_number":89,"context_line":""},{"line_number":90,"context_line":"    def __init__(self, notifier, type_manager):"},{"line_number":91,"context_line":"        self.notifier \u003d notifier"},{"line_number":92,"context_line":"        self.type_manager \u003d type_manager"},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"    def tunnel_sync(self, rpc_context, **kwargs):"},{"line_number":95,"context_line":"        \"\"\"Update new tunnel."}],"source_content_type":"text/x-python","patch_set":1,"id":"1ae5cdf2_91cd0389","side":"PARENT","line":92,"updated":"2014-06-19 08:22:10.000000000","message":"while it doesn\u0027t need to be __init__, is it cleaner to have an explicit method to initialize members used by this mixin?  eg. init_tunnel_rpc().\n\nor at least it\u0027s better to document which members this mixin would use.","commit_id":"24718e6f1764e95f0c393ba042546e3584981b31"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"0067652729c9809bb47025278c8960683f7089ca","unresolved":false,"context_lines":[{"line_number":89,"context_line":""},{"line_number":90,"context_line":"    def __init__(self, notifier, type_manager):"},{"line_number":91,"context_line":"        self.notifier \u003d notifier"},{"line_number":92,"context_line":"        self.type_manager \u003d type_manager"},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"    def tunnel_sync(self, rpc_context, **kwargs):"},{"line_number":95,"context_line":"        \"\"\"Update new tunnel."}],"source_content_type":"text/x-python","patch_set":1,"id":"1ae5cdf2_44d736ee","side":"PARENT","line":92,"in_reply_to":"1ae5cdf2_2cc77613","updated":"2014-06-19 11:24:12.000000000","message":"I don\u0027t think mixin\u0027s should require an explicit init method just to set attributes on the very object calling the init function in the first place.\nI will just make them defined as none by default similar to the AgentSchedulerMixin[1].\n\nI\u0027m not going to rename them to mixin specific variables because even though they are used for only that mixin right now, the type manager and notifier are generic and may be referenced by several more in the future. Additionally, name mangling isn\u0027t common for mixin classes elsewhere in the neutron code base.\n\n1. https://github.com/openstack/neutron/blob/master/neutron/db/agentschedulers_db.py#L63","commit_id":"24718e6f1764e95f0c393ba042546e3584981b31"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"6737fb90d7c633d3082697ec5d557ffe8a81ec89","unresolved":false,"context_lines":[{"line_number":89,"context_line":""},{"line_number":90,"context_line":"    def __init__(self, notifier, type_manager):"},{"line_number":91,"context_line":"        self.notifier \u003d notifier"},{"line_number":92,"context_line":"        self.type_manager \u003d type_manager"},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"    def tunnel_sync(self, rpc_context, **kwargs):"},{"line_number":95,"context_line":"        \"\"\"Update new tunnel."}],"source_content_type":"text/x-python","patch_set":1,"id":"1ae5cdf2_2cc77613","side":"PARENT","line":92,"in_reply_to":"1ae5cdf2_91cd0389","updated":"2014-06-19 09:00:30.000000000","message":"I support the idea of providing init_tunnel_rpc() method. In this way, we will be able to update Mixin methods without touching a line outside of it in case we need more members to serve it.\n\nI would also rename those members to be explicitly internal (adding doublescore or some mixin specific prefix).","commit_id":"24718e6f1764e95f0c393ba042546e3584981b31"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"ddae269a7f63cb2fb9190267d4cbd086b84d7b87","unresolved":false,"context_lines":[{"line_number":86,"context_line":""},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"class TunnelRpcCallbackMixin(object):"},{"line_number":89,"context_line":"    # These should be set by the RpcCallBack class that inherits from this"},{"line_number":90,"context_line":"    notifier \u003d None"},{"line_number":91,"context_line":"    type_manager \u003d None"},{"line_number":92,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"1ae5cdf2_cafa6d76","line":89,"updated":"2014-06-19 12:06:11.000000000","message":"That\u0027s RpcCallback*s*, not RpcCallback (that\u0027s another class from RPC layer introduced recently). Also I don\u0027t think that we should refer to specific types here even if mixin is currently used by a single class definition.","commit_id":"a94571427b8791d977aad0e093956b929042ace2"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"852be48be223c63302f5853130520cf06cc5cfd6","unresolved":false,"context_lines":[{"line_number":86,"context_line":""},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"class TunnelRpcCallbackMixin(object):"},{"line_number":89,"context_line":"    # These should be set by the RpcCallBack class that inherits from this"},{"line_number":90,"context_line":"    notifier \u003d None"},{"line_number":91,"context_line":"    type_manager \u003d None"},{"line_number":92,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"1ae5cdf2_de092f85","line":89,"in_reply_to":"1ae5cdf2_40070718","updated":"2014-06-20 08:12:58.000000000","message":"If we have a mixin, we probably mean that it can be used outside RpcCallbacks (pay attention to *s* at the end, it\u0027s meaningful). Otherwise, if we see this mixin tied to this specific class, we are probably better moving it there.","commit_id":"a94571427b8791d977aad0e093956b929042ace2"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"db2b644b288afce33dd785e4fce6ad0016a2e466","unresolved":false,"context_lines":[{"line_number":86,"context_line":""},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"class TunnelRpcCallbackMixin(object):"},{"line_number":89,"context_line":"    # These should be set by the RpcCallBack class that inherits from this"},{"line_number":90,"context_line":"    notifier \u003d None"},{"line_number":91,"context_line":"    type_manager \u003d None"},{"line_number":92,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"1ae5cdf2_1bc74546","line":89,"in_reply_to":"1ae5cdf2_cafa6d76","updated":"2014-06-19 13:43:11.000000000","message":"+1","commit_id":"a94571427b8791d977aad0e093956b929042ace2"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"cbd93ac949ad60cdfdb3bcb3598a8909fbd652a2","unresolved":false,"context_lines":[{"line_number":86,"context_line":""},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"class TunnelRpcCallbackMixin(object):"},{"line_number":89,"context_line":"    # These should be set by the RpcCallBack class that inherits from this"},{"line_number":90,"context_line":"    notifier \u003d None"},{"line_number":91,"context_line":"    type_manager \u003d None"},{"line_number":92,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"1ae5cdf2_40070718","line":89,"in_reply_to":"1ae5cdf2_cafa6d76","updated":"2014-06-20 01:09:51.000000000","message":"This isn\u0027t a reference to a specific class. RpcCallback was intentional to refer to an arbitrary callback class that would be inheriting this one.","commit_id":"a94571427b8791d977aad0e093956b929042ace2"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"44245b21296ace744c20c07a8df0fd90019077a1","unresolved":false,"context_lines":[{"line_number":86,"context_line":""},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"class TunnelRpcCallbackMixin(object):"},{"line_number":89,"context_line":"    # These should be set by the RpcCallBack class that inherits from this"},{"line_number":90,"context_line":"    notifier \u003d None"},{"line_number":91,"context_line":"    type_manager \u003d None"},{"line_number":92,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"1ae5cdf2_7e465ba8","line":89,"in_reply_to":"1ae5cdf2_de092f85","updated":"2014-06-20 08:16:46.000000000","message":"Ah, ok, I got your point, sorry for misunderstanding. I would replace \u0027the RpcCallback class\u0027 with \u0027the RpcCallback derived class\u0027 to make it more clear.\n\nSorry again.","commit_id":"a94571427b8791d977aad0e093956b929042ace2"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"db2b644b288afce33dd785e4fce6ad0016a2e466","unresolved":false,"context_lines":[{"line_number":88,"context_line":"class TunnelRpcCallbackMixin(object):"},{"line_number":89,"context_line":"    # These should be set by the RpcCallBack class that inherits from this"},{"line_number":90,"context_line":"    notifier \u003d None"},{"line_number":91,"context_line":"    type_manager \u003d None"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"    def tunnel_sync(self, rpc_context, **kwargs):"},{"line_number":94,"context_line":"        \"\"\"Update new tunnel."}],"source_content_type":"text/x-python","patch_set":2,"id":"1ae5cdf2_fbf7f989","line":91,"updated":"2014-06-19 13:43:11.000000000","message":"is it a common to use class attributes this way?\ni\u0027m not sure if it\u0027s a good idea as it might hide bugs.\n(in this specific case None values would crash loudly enough though)\n\njust comments are better IMO.","commit_id":"a94571427b8791d977aad0e093956b929042ace2"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"e81d4318da8640666649417f60acf78cc168831d","unresolved":false,"context_lines":[{"line_number":88,"context_line":"class TunnelRpcCallbackMixin(object):"},{"line_number":89,"context_line":"    # These should be set by the RpcCallBack class that inherits from this"},{"line_number":90,"context_line":"    notifier \u003d None"},{"line_number":91,"context_line":"    type_manager \u003d None"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"    def tunnel_sync(self, rpc_context, **kwargs):"},{"line_number":94,"context_line":"        \"\"\"Update new tunnel."}],"source_content_type":"text/x-python","patch_set":2,"id":"1ae5cdf2_a29c536b","line":91,"in_reply_to":"1ae5cdf2_2c391af2","updated":"2014-06-19 23:44:45.000000000","message":"it is confusing ... type_manager/notifier look like class attributes but they are instance ones","commit_id":"a94571427b8791d977aad0e093956b929042ace2"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"cbd93ac949ad60cdfdb3bcb3598a8909fbd652a2","unresolved":false,"context_lines":[{"line_number":88,"context_line":"class TunnelRpcCallbackMixin(object):"},{"line_number":89,"context_line":"    # These should be set by the RpcCallBack class that inherits from this"},{"line_number":90,"context_line":"    notifier \u003d None"},{"line_number":91,"context_line":"    type_manager \u003d None"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"    def tunnel_sync(self, rpc_context, **kwargs):"},{"line_number":94,"context_line":"        \"\"\"Update new tunnel."}],"source_content_type":"text/x-python","patch_set":2,"id":"1ae5cdf2_e02c9395","line":91,"in_reply_to":"1ae5cdf2_a29c536b","updated":"2014-06-20 01:09:51.000000000","message":"In the first patch I didn\u0027t have them at all but then I received complaints from Ihar Hrachyshka\tand Yamamoto Takashi that there should be something explicit in this mixin about those attributes. I added them as class attributes, but it seems that wasn\u0027t a good approach either.","commit_id":"a94571427b8791d977aad0e093956b929042ace2"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"930a79113de9ab4091259f747c2662d9225e1975","unresolved":false,"context_lines":[{"line_number":88,"context_line":"class TunnelRpcCallbackMixin(object):"},{"line_number":89,"context_line":"    # These should be set by the RpcCallBack class that inherits from this"},{"line_number":90,"context_line":"    notifier \u003d None"},{"line_number":91,"context_line":"    type_manager \u003d None"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"    def tunnel_sync(self, rpc_context, **kwargs):"},{"line_number":94,"context_line":"        \"\"\"Update new tunnel."}],"source_content_type":"text/x-python","patch_set":2,"id":"1ae5cdf2_2c391af2","line":91,"in_reply_to":"1ae5cdf2_fbf7f989","updated":"2014-06-19 22:20:33.000000000","message":"Yes, it would crash loudly either way. I\u0027m still not convinced it\u0027s necessary to have these hints. Other mixin classes call methods on \u0027self\u0027 that aren\u0027t defined in that class or set during init (e.g. self.get_network).","commit_id":"a94571427b8791d977aad0e093956b929042ace2"},{"author":{"_account_id":2592,"name":"Mark McClain","email":"mark@mcclain.xyz","username":"markmcclain"},"change_message_id":"e9851b4d14276f4c7123d75c931bee141dfd0075","unresolved":false,"context_lines":[{"line_number":88,"context_line":"class TunnelRpcCallbackMixin(object):"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"    def setup_tunnel_callback_mixin(self, notifier, type_manager):"},{"line_number":91,"context_line":"        self.__notifier \u003d notifier"},{"line_number":92,"context_line":"        self.__type_manager \u003d type_manager"},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"    def tunnel_sync(self, rpc_context, **kwargs):"}],"source_content_type":"text/x-python","patch_set":4,"id":"1ae5cdf2_09c18c2e","line":91,"updated":"2014-06-20 21:35:08.000000000","message":"in general you should not preface vars with __ because python mangle consider: self._notifer","commit_id":"3e82beb908bb17c149275fb35a63586282cc8f5a"},{"author":{"_account_id":2592,"name":"Mark McClain","email":"mark@mcclain.xyz","username":"markmcclain"},"change_message_id":"e9851b4d14276f4c7123d75c931bee141dfd0075","unresolved":false,"context_lines":[{"line_number":89,"context_line":""},{"line_number":90,"context_line":"    def setup_tunnel_callback_mixin(self, notifier, type_manager):"},{"line_number":91,"context_line":"        self.__notifier \u003d notifier"},{"line_number":92,"context_line":"        self.__type_manager \u003d type_manager"},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"    def tunnel_sync(self, rpc_context, **kwargs):"},{"line_number":95,"context_line":"        \"\"\"Update new tunnel."}],"source_content_type":"text/x-python","patch_set":4,"id":"1ae5cdf2_29bc88b4","line":92,"updated":"2014-06-20 21:35:08.000000000","message":"same","commit_id":"3e82beb908bb17c149275fb35a63586282cc8f5a"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"ecf62fa1b1ef2b4a2e0b9d03c538a18504e802be","unresolved":false,"context_lines":[{"line_number":89,"context_line":""},{"line_number":90,"context_line":"    def setup_tunnel_callback_mixin(self, notifier, type_manager):"},{"line_number":91,"context_line":"        self.__notifier \u003d notifier"},{"line_number":92,"context_line":"        self.__type_manager \u003d type_manager"},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"    def tunnel_sync(self, rpc_context, **kwargs):"},{"line_number":95,"context_line":"        \"\"\"Update new tunnel."}],"source_content_type":"text/x-python","patch_set":4,"id":"1ae5cdf2_da3f6023","line":92,"in_reply_to":"1ae5cdf2_29bc88b4","updated":"2014-06-21 00:41:24.000000000","message":"The name mangling was intentional in response to a previous comment to make them local to this mixin.","commit_id":"3e82beb908bb17c149275fb35a63586282cc8f5a"},{"author":{"_account_id":1923,"name":"Mohammad Banikazemi","email":"mbanikazemi@gmail.com","username":"mb-s"},"change_message_id":"61d2394f5a61e8b6d26868481017424a0875d4dc","unresolved":false,"context_lines":[{"line_number":109,"context_line":"            entry \u003d {\u0027tunnels\u0027: tunnels}"},{"line_number":110,"context_line":"            # Notify all other listening agents"},{"line_number":111,"context_line":"            self._notifier.tunnel_update(rpc_context, tunnel.ip_address,"},{"line_number":112,"context_line":"                                          tunnel_type)"},{"line_number":113,"context_line":"            # Return the list of tunnels IP\u0027s to the agent"},{"line_number":114,"context_line":"            return entry"},{"line_number":115,"context_line":"        else:"}],"source_content_type":"text/x-python","patch_set":7,"id":"1ae5cdf2_774255ac","line":112,"updated":"2014-06-25 21:32:02.000000000","message":"extra white space.","commit_id":"e6616ebd78e602921d172852855ae6b764600d2f"}],"neutron/plugins/ml2/rpc.py":[{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"e81d4318da8640666649417f60acf78cc168831d","unresolved":false,"context_lines":[{"line_number":37,"context_line":"TAP_DEVICE_PREFIX_LENGTH \u003d 3"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"class RpcCallbacks(rpc_compat.RpcCallback,"},{"line_number":41,"context_line":"                   dhcp_rpc_base.DhcpRpcCallbackMixin,"},{"line_number":42,"context_line":"                   sg_db_rpc.SecurityGroupServerRpcCallbackMixin,"},{"line_number":43,"context_line":"                   type_tunnel.TunnelRpcCallbackMixin):"}],"source_content_type":"text/x-python","patch_set":2,"id":"1ae5cdf2_02eee721","line":40,"updated":"2014-06-19 23:44:45.000000000","message":"it should be mixins first than rpc_compat.RpcCallback in parent class list","commit_id":"a94571427b8791d977aad0e093956b929042ace2"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"f4057ca636e67fd19e9f3e16ce54446252112d3b","unresolved":false,"context_lines":[{"line_number":37,"context_line":"TAP_DEVICE_PREFIX_LENGTH \u003d 3"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"class RpcCallbacks(rpc_compat.RpcCallback,"},{"line_number":41,"context_line":"                   dhcp_rpc_base.DhcpRpcCallbackMixin,"},{"line_number":42,"context_line":"                   sg_db_rpc.SecurityGroupServerRpcCallbackMixin,"},{"line_number":43,"context_line":"                   type_tunnel.TunnelRpcCallbackMixin):"}],"source_content_type":"text/x-python","patch_set":2,"id":"1ae5cdf2_42838f02","line":40,"in_reply_to":"1ae5cdf2_02eee721","updated":"2014-06-19 23:51:03.000000000","message":"While that may be preferred, it should not matter in this case. Mixins shouldn\u0027t mess up initialization.","commit_id":"a94571427b8791d977aad0e093956b929042ace2"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"852be48be223c63302f5853130520cf06cc5cfd6","unresolved":false,"context_lines":[{"line_number":37,"context_line":"TAP_DEVICE_PREFIX_LENGTH \u003d 3"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"class RpcCallbacks(rpc_compat.RpcCallback,"},{"line_number":41,"context_line":"                   dhcp_rpc_base.DhcpRpcCallbackMixin,"},{"line_number":42,"context_line":"                   sg_db_rpc.SecurityGroupServerRpcCallbackMixin,"},{"line_number":43,"context_line":"                   type_tunnel.TunnelRpcCallbackMixin):"}],"source_content_type":"text/x-python","patch_set":2,"id":"1ae5cdf2_1ed2b7ff","line":40,"in_reply_to":"1ae5cdf2_42838f02","updated":"2014-06-20 08:12:58.000000000","message":"They shouldn\u0027t, but they can (some mixins actually define their __init__ functions). And that\u0027s why rpc_compat.RpcCallback MUST actually be the first in the list: to make sure its __init__ is called no matter whether other classes in the list call to super() [we have some cases where they don\u0027t].\n\nBriefly, I think the way it\u0027s written here *is* the correct one.\n\nFull disclosure: I\u0027m the one who introduced rpc_compat.RpcCallback.","commit_id":"a94571427b8791d977aad0e093956b929042ace2"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"d3c5525cb9ec4638192b5b5580a1d5b1b0a96c90","unresolved":false,"context_lines":[{"line_number":48,"context_line":"    #   1.0 Initial version (from openvswitch/linuxbridge)"},{"line_number":49,"context_line":"    #   1.1 Support Security Group RPC"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"    target \u003d messaging.Target(version\u003dRPC_API_VERSION)"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"    def __init__(self, notifier, type_manager):"},{"line_number":54,"context_line":"        self.setup_tunnel_callback_mixin(notifier, type_manager)"}],"source_content_type":"text/x-python","patch_set":3,"id":"1ae5cdf2_9ef40256","line":51,"updated":"2014-06-20 11:16:33.000000000","message":"If you put RpcCallback in the list of inheritance, then its __init__ will take care of setting self.target, so this should be removed.","commit_id":"dcc54e27c7b17557159b28fde0f04a46b4643fc9"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"792ee07ad22277ce92919d3f6d090b4c07a5653e","unresolved":false,"context_lines":[{"line_number":13,"context_line":"#    License for the specific language governing permissions and limitations"},{"line_number":14,"context_line":"#    under the License."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"from oslo import messaging"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"from neutron.agent import securitygroups_rpc as sg_rpc"},{"line_number":19,"context_line":"from neutron.common import constants as q_const"}],"source_content_type":"text/x-python","patch_set":5,"id":"1ae5cdf2_4bc8ac75","line":16,"updated":"2014-06-24 01:46:20.000000000","message":"now unused?","commit_id":"66fbb7d8ac06f2646b112f6c2d9f05fff2ec7c01"}]}
