)]}'
{"neutron/common/rpc_compat.py":[{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"change_message_id":"5647cf0de2ddc0f207b5589a5612fac829b2c537","unresolved":false,"context_lines":[{"line_number":27,"context_line":""},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"class RpcCallback(object):"},{"line_number":30,"context_line":"    \u0027\u0027\u0027"},{"line_number":31,"context_line":"    This class is created to facilitate migration from oslo-incubator"},{"line_number":32,"context_line":"    RPC layer implementation to oslo.messaging and is intended to set"},{"line_number":33,"context_line":"    callback version using oslo.messaging API once the migration is"}],"source_content_type":"text/x-python","patch_set":12,"id":"1ae5cdf2_77bd9901","line":30,"updated":"2014-06-05 15:29:47.000000000","message":"I think we have a convention of using double quotes.\nI don\u0027t want to be annoying but I can\u0027t help being pedant when I review!","commit_id":"a347b925a2ce990d69ec1d9c48e7e36015c69db0"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"067ac3e33e4f144d663d799081ff6058ce627c0d","unresolved":false,"context_lines":[{"line_number":27,"context_line":""},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"class RpcCallback(object):"},{"line_number":30,"context_line":"    \u0027\u0027\u0027"},{"line_number":31,"context_line":"    This class is created to facilitate migration from oslo-incubator"},{"line_number":32,"context_line":"    RPC layer implementation to oslo.messaging and is intended to set"},{"line_number":33,"context_line":"    callback version using oslo.messaging API once the migration is"}],"source_content_type":"text/x-python","patch_set":12,"id":"1ae5cdf2_9bc86b58","line":30,"in_reply_to":"1ae5cdf2_77bd9901","updated":"2014-06-06 13:55:01.000000000","message":"I\u0027m ok with changing that, but can you link to a policy here?","commit_id":"a347b925a2ce990d69ec1d9c48e7e36015c69db0"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"change_message_id":"abfdfcdda2cad83be3ee64e160cbc43e36ac9577","unresolved":false,"context_lines":[{"line_number":27,"context_line":""},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"class RpcCallback(object):"},{"line_number":30,"context_line":"    \u0027\u0027\u0027"},{"line_number":31,"context_line":"    This class is created to facilitate migration from oslo-incubator"},{"line_number":32,"context_line":"    RPC layer implementation to oslo.messaging and is intended to set"},{"line_number":33,"context_line":"    callback version using oslo.messaging API once the migration is"}],"source_content_type":"text/x-python","patch_set":12,"id":"1ae5cdf2_16928e56","line":30,"in_reply_to":"1ae5cdf2_9bc86b58","updated":"2014-06-13 16:44:21.000000000","message":"there is no official policy. So I should not have asked for it in a review. Sorry about that.","commit_id":"a347b925a2ce990d69ec1d9c48e7e36015c69db0"}],"neutron/manager.py":[{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"change_message_id":"5647cf0de2ddc0f207b5589a5612fac829b2c537","unresolved":false,"context_lines":[{"line_number":30,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"class Manager(rpc_compat.RpcCallback, periodic_task.PeriodicTasks):"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"    # Set RPC API version to 1.0 by default."},{"line_number":36,"context_line":"    RPC_API_VERSION \u003d \u00271.0\u0027"}],"source_content_type":"text/x-python","patch_set":12,"id":"1ae5cdf2_77f039c9","line":33,"updated":"2014-06-05 15:29:47.000000000","message":"can you clarify why this class needs to inherit from RpcCallback?\n\nIs this because of the RPC_API_VERSION constant? Because I don\u0027t think this class actually implements any callback.","commit_id":"a347b925a2ce990d69ec1d9c48e7e36015c69db0"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"change_message_id":"abfdfcdda2cad83be3ee64e160cbc43e36ac9577","unresolved":false,"context_lines":[{"line_number":30,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"class Manager(rpc_compat.RpcCallback, periodic_task.PeriodicTasks):"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"    # Set RPC API version to 1.0 by default."},{"line_number":36,"context_line":"    RPC_API_VERSION \u003d \u00271.0\u0027"}],"source_content_type":"text/x-python","patch_set":12,"id":"1ae5cdf2_36494a60","line":33,"in_reply_to":"1ae5cdf2_5bfd036e","updated":"2014-06-13 16:44:21.000000000","message":"Please don\u0027t be angry at my pedantry and ignorance.\n\nI felt it was a bit unusual to add a class to the base class list because of a constant. But it\u0027s clear that this is reason.","commit_id":"a347b925a2ce990d69ec1d9c48e7e36015c69db0"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"067ac3e33e4f144d663d799081ff6058ce627c0d","unresolved":false,"context_lines":[{"line_number":30,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"class Manager(rpc_compat.RpcCallback, periodic_task.PeriodicTasks):"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"    # Set RPC API version to 1.0 by default."},{"line_number":36,"context_line":"    RPC_API_VERSION \u003d \u00271.0\u0027"}],"source_content_type":"text/x-python","patch_set":12,"id":"1ae5cdf2_5bfd036e","line":33,"in_reply_to":"1ae5cdf2_77f039c9","updated":"2014-06-06 13:55:01.000000000","message":"Yes, exactly, just because RPC_API_VERSION is here. If it\u0027s not used for callbacks, why is it here?","commit_id":"a347b925a2ce990d69ec1d9c48e7e36015c69db0"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"85e8f7b99baaa6a7e95ba67b862ba27c1b7fe354","unresolved":false,"context_lines":[{"line_number":39,"context_line":"        if not host:"},{"line_number":40,"context_line":"            host \u003d cfg.CONF.host"},{"line_number":41,"context_line":"        self.host \u003d host"},{"line_number":42,"context_line":"        super(Manager, self).__init__()"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"    def periodic_tasks(self, context, raise_on_error\u003dFalse):"},{"line_number":45,"context_line":"        self.run_periodic_tasks(context, raise_on_error\u003draise_on_error)"}],"source_content_type":"text/x-python","patch_set":15,"id":"1ae5cdf2_5aa73950","line":42,"updated":"2014-06-11 08:01:45.000000000","message":"I wasn\u0027t sure how super / __init__() worked with multiple\ninheritance, it seems that it won\u0027t call all the initializers\nof parents.\n\nMay we call those explicitly then?\n\n[majopela@redcylon ~]$ cat test.py\nclass A(object):\n    def __init__(self):\n        print \"init A\"\n\nclass B(object):\n    def __init__(self):\n        print \"init B\"\n\nclass C(A,B):\n    def __init__(self):\n        print super(C,self)\n        super(C,self).__init__()\n        print \"init C\"\n\n\nc \u003d C()\nprint c\n\n\n[majopela@redcylon ~]$  python test.py\n\n[majopela@redcylon ~]$ python test.py\n\u003csuper: \u003cclass \u0027C\u0027\u003e, \u003cC object\u003e\u003e\ninit A\ninit C\n\u003c__main__.C object at 0x7f2787e81110\u003e","commit_id":"cf4bc2444dd6327c9c3bbfab5f3949e0e0b1cd6f"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"143fa8903276665ab3b8558fe0f4458ed05e717e","unresolved":false,"context_lines":[{"line_number":39,"context_line":"        if not host:"},{"line_number":40,"context_line":"            host \u003d cfg.CONF.host"},{"line_number":41,"context_line":"        self.host \u003d host"},{"line_number":42,"context_line":"        super(Manager, self).__init__()"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"    def periodic_tasks(self, context, raise_on_error\u003dFalse):"},{"line_number":45,"context_line":"        self.run_periodic_tasks(context, raise_on_error\u003draise_on_error)"}],"source_content_type":"text/x-python","patch_set":15,"id":"1ae5cdf2_9470b541","line":42,"in_reply_to":"1ae5cdf2_5aa73950","updated":"2014-06-11 09:10:30.000000000","message":"In your example, the problem is that A and B don\u0027t call to super(type, self).__init__() Obviously, this breaks inherited chain call.\n\nThere is another concern about RpcCallback.__init__() not called, as in following scenario:\n\nclass RpcCallback(object):\n     def __init__(self):\n         super(RpcCallback, self).__init__()\n         ...\n\nclass Terminator(object):\n    def __init__(self):\n        # don\u0027t call to super()\n        ...\n\nclass ChainBreaker(Terminator, RpcCallback):\n    def __init__(self):\n        super(ChainBreaker, self).__init__()\n        ...\n\nclass Callback(RpcCallback, ChainBreaker):\n     def __init__(self):\n         super(Callback, self).__init__()\n         ...\n\nIn that case, as per python MRO [1], RpcCallback may result not at the very start of MRO list, and if Terminator is leading it, it will terminate __init__() call chain.\n\nTo avoid that issue, I consistently put RpcCallback everywhere it\u0027s used as the first parent in the inheritance list. I think this is a proper interpretation of MRO rules. If not, please comment.\n\n[1]: https://www.python.org/download/releases/2.3/mro/","commit_id":"cf4bc2444dd6327c9c3bbfab5f3949e0e0b1cd6f"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"d725a1c4da40fdefb8e39c00d93baabb754aa405","unresolved":false,"context_lines":[{"line_number":39,"context_line":"        if not host:"},{"line_number":40,"context_line":"            host \u003d cfg.CONF.host"},{"line_number":41,"context_line":"        self.host \u003d host"},{"line_number":42,"context_line":"        super(Manager, self).__init__()"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"    def periodic_tasks(self, context, raise_on_error\u003dFalse):"},{"line_number":45,"context_line":"        self.run_periodic_tasks(context, raise_on_error\u003draise_on_error)"}],"source_content_type":"text/x-python","patch_set":15,"id":"1ae5cdf2_34dc41e4","line":42,"in_reply_to":"1ae5cdf2_9470b541","updated":"2014-06-11 09:22:19.000000000","message":"Ok, you\u0027re actually right:\n\n[majopela@redcylon ~]$ cat test.py \nclass A(object):\n    def __init__(self):\n        print \"init A\"\n        super(A,self).__init__()\n\nclass B(object):\n    def __init__(self):\n        print \"init B\"\n        super(B,self).__init__()\n\nclass CB(object):\n    def __init__(self):\n        print \"init ChainBreaker\"\n\nclass C(A,CB,B):\n    def __init__(self):\n        print super(C,self)\n        super(C,self).__init__()\n        print \"init C\"\n\n\nc \u003d C()\nprint c\n\nwill lead to this execution:\n[majopela@redcylon ~]$ python test.py\n\u003csuper: \u003cclass \u0027C\u0027\u003e, \u003cC object\u003e\u003e\ninit A\ninit ChainBreaker\ninit C\n\n\nbut, if you set all the super (in this case, adding the missing super(CB,self).__init__()) then, you get:\n\n[majopela@redcylon ~]$ python test.py\n\u003csuper: \u003cclass \u0027C\u0027\u003e, \u003cC object\u003e\u003e\ninit A\ninit ChainBreaker\ninit B\ninit C\n\u003c__main__.C object at 0x7fe896ce1190\u003e","commit_id":"cf4bc2444dd6327c9c3bbfab5f3949e0e0b1cd6f"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"change_message_id":"9058656e38c7aa72e3e7962e9cf4cf93361e8928","unresolved":false,"context_lines":[{"line_number":30,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"class Manager(rpc_compat.RpcCallback, periodic_task.PeriodicTasks):"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"    # Set RPC API version to 1.0 by default."},{"line_number":36,"context_line":"    RPC_API_VERSION \u003d \u00271.0\u0027"}],"source_content_type":"text/x-python","patch_set":16,"id":"1ae5cdf2_b6ae3a7f","line":33,"updated":"2014-06-13 16:48:13.000000000","message":"I\u0027ve not yet figured out why this is needed.\nBut I blame my ignorance for that.","commit_id":"9d70357fdf6aec5f6f1460221b4b17f9b0d52c13"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"change_message_id":"9058656e38c7aa72e3e7962e9cf4cf93361e8928","unresolved":false,"context_lines":[{"line_number":33,"context_line":"class Manager(rpc_compat.RpcCallback, periodic_task.PeriodicTasks):"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"    # Set RPC API version to 1.0 by default."},{"line_number":36,"context_line":"    RPC_API_VERSION \u003d \u00271.0\u0027"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"    def __init__(self, host\u003dNone):"},{"line_number":39,"context_line":"        if not host:"}],"source_content_type":"text/x-python","patch_set":16,"id":"1ae5cdf2_d6b106e1","line":36,"updated":"2014-06-13 16:48:13.000000000","message":"On another note, I don\u0027t even know if this constant should be here anymore... appears to be not used?\n(nor the Manager class appears to be extended somewhere else)","commit_id":"9d70357fdf6aec5f6f1460221b4b17f9b0d52c13"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"3ed5646c0c16cddfba1d2bf3360d8bac171c1aca","unresolved":false,"context_lines":[{"line_number":33,"context_line":"class Manager(rpc_compat.RpcCallback, periodic_task.PeriodicTasks):"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"    # Set RPC API version to 1.0 by default."},{"line_number":36,"context_line":"    RPC_API_VERSION \u003d \u00271.0\u0027"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"    def __init__(self, host\u003dNone):"},{"line_number":39,"context_line":"        if not host:"}],"source_content_type":"text/x-python","patch_set":16,"id":"1ae5cdf2_b3b703f5","line":36,"in_reply_to":"1ae5cdf2_d6b106e1","updated":"2014-06-16 08:41:02.000000000","message":"My take here is: if RPC_API_VERSION is defined for a class, it means the class is to be used for callbacks. And this requires proper self.target to be set for those objects. And this requires inheriting from rpc_compat.RpcCallback.\n\nIf RPC_API_VERSION is defined here by mistake, it should be removed as a part of another effort (or as a preparation step for this patch). But since I\u0027m not confident about this particular piece of code, I assume it\u0027s correct and apply my patch accordingly.\n\nAn example of extending the class is L3NATAgent.","commit_id":"9d70357fdf6aec5f6f1460221b4b17f9b0d52c13"},{"author":{"_account_id":6447,"name":"Avishay Balderman","email":"avishayb@radware.com","username":"avishayb"},"change_message_id":"a3469c69ec5c82001ce9eb8b3f420e989f3eaf23","unresolved":false,"context_lines":[{"line_number":38,"context_line":"    def __init__(self, host\u003dNone):"},{"line_number":39,"context_line":"        if not host:"},{"line_number":40,"context_line":"            host \u003d cfg.CONF.host"},{"line_number":41,"context_line":"        self.host \u003d host"},{"line_number":42,"context_line":"        super(Manager, self).__init__()"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"    def periodic_tasks(self, context, raise_on_error\u003dFalse):"}],"source_content_type":"text/x-python","patch_set":16,"id":"1ae5cdf2_ccaa4070","line":41,"updated":"2014-06-15 11:09:57.000000000","message":"self.host \u003d  host if host else cfg.CONF.host","commit_id":"9d70357fdf6aec5f6f1460221b4b17f9b0d52c13"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"3ed5646c0c16cddfba1d2bf3360d8bac171c1aca","unresolved":false,"context_lines":[{"line_number":38,"context_line":"    def __init__(self, host\u003dNone):"},{"line_number":39,"context_line":"        if not host:"},{"line_number":40,"context_line":"            host \u003d cfg.CONF.host"},{"line_number":41,"context_line":"        self.host \u003d host"},{"line_number":42,"context_line":"        super(Manager, self).__init__()"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"    def periodic_tasks(self, context, raise_on_error\u003dFalse):"}],"source_content_type":"text/x-python","patch_set":16,"id":"1ae5cdf2_13b7d73b","line":41,"in_reply_to":"1ae5cdf2_ccaa4070","updated":"2014-06-16 08:41:02.000000000","message":"The patch is not for refactoring. It\u0027s to facilitate oslo.messaging porting. If you think the change is worth the effort, please send a separate patch for that.","commit_id":"9d70357fdf6aec5f6f1460221b4b17f9b0d52c13"}],"neutron/plugins/bigswitch/agent/restproxy_agent.py":[{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"85e8f7b99baaa6a7e95ba67b862ba27c1b7fe354","unresolved":false,"context_lines":[{"line_number":91,"context_line":"    RPC_API_VERSION \u003d \u00271.1\u0027"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"    def __init__(self, integ_br, polling_interval, root_helper, vs\u003d\u0027ovs\u0027):"},{"line_number":94,"context_line":"        super(RestProxyAgent, self).__init__()"},{"line_number":95,"context_line":"        self.polling_interval \u003d polling_interval"},{"line_number":96,"context_line":"        self._setup_rpc()"},{"line_number":97,"context_line":"        self.sg_agent \u003d SecurityGroupAgent(self.context,"}],"source_content_type":"text/x-python","patch_set":15,"id":"1ae5cdf2_5a7e59b0","line":94,"updated":"2014-06-11 08:01:45.000000000","message":"multiple inheritance initializers.","commit_id":"cf4bc2444dd6327c9c3bbfab5f3949e0e0b1cd6f"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"143fa8903276665ab3b8558fe0f4458ed05e717e","unresolved":false,"context_lines":[{"line_number":91,"context_line":"    RPC_API_VERSION \u003d \u00271.1\u0027"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"    def __init__(self, integ_br, polling_interval, root_helper, vs\u003d\u0027ovs\u0027):"},{"line_number":94,"context_line":"        super(RestProxyAgent, self).__init__()"},{"line_number":95,"context_line":"        self.polling_interval \u003d polling_interval"},{"line_number":96,"context_line":"        self._setup_rpc()"},{"line_number":97,"context_line":"        self.sg_agent \u003d SecurityGroupAgent(self.context,"}],"source_content_type":"text/x-python","patch_set":15,"id":"1ae5cdf2_b4905144","line":94,"in_reply_to":"1ae5cdf2_5a7e59b0","updated":"2014-06-11 09:10:30.000000000","message":"See my comment in manager.py.","commit_id":"cf4bc2444dd6327c9c3bbfab5f3949e0e0b1cd6f"}],"neutron/plugins/hyperv/agent/hyperv_neutron_agent.py":[{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"792bfea74f22b41f06da639e93d85ceb0eb4687b","unresolved":false,"context_lines":[{"line_number":86,"context_line":"    # Set RPC API version to 1.1 by default."},{"line_number":87,"context_line":"    RPC_API_VERSION \u003d \u00271.1\u0027"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"    def __init__(self, context, plugin_rpc):"},{"line_number":90,"context_line":"        self.context \u003d context"},{"line_number":91,"context_line":"        self.plugin_rpc \u003d plugin_rpc"},{"line_number":92,"context_line":""}],"source_content_type":"text/x-python","patch_set":15,"id":"1ae5cdf2_988652da","line":89,"updated":"2014-06-10 12:09:04.000000000","message":"you need to call super().__init__ here?","commit_id":"cf4bc2444dd6327c9c3bbfab5f3949e0e0b1cd6f"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"0f432b8f689034129b6a2d5e49e01d9cf2af46b1","unresolved":false,"context_lines":[{"line_number":86,"context_line":"    # Set RPC API version to 1.1 by default."},{"line_number":87,"context_line":"    RPC_API_VERSION \u003d \u00271.1\u0027"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"    def __init__(self, context, plugin_rpc):"},{"line_number":90,"context_line":"        self.context \u003d context"},{"line_number":91,"context_line":"        self.plugin_rpc \u003d plugin_rpc"},{"line_number":92,"context_line":""}],"source_content_type":"text/x-python","patch_set":15,"id":"1ae5cdf2_575bb82d","line":89,"in_reply_to":"1ae5cdf2_988652da","updated":"2014-06-10 12:40:15.000000000","message":"Indeed, thanks for spotting the bug.","commit_id":"cf4bc2444dd6327c9c3bbfab5f3949e0e0b1cd6f"}],"neutron/plugins/ml2/rpc.py":[{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"change_message_id":"5647cf0de2ddc0f207b5589a5612fac829b2c537","unresolved":false,"context_lines":[{"line_number":52,"context_line":"        # to one, this could break. Fix this and add a unit test to cover this"},{"line_number":53,"context_line":"        # test in H3."},{"line_number":54,"context_line":"        # TODO(ihrachys): we can\u0027t use rpc_compat.RpcCallback here due"},{"line_number":55,"context_line":"        # to inheritance problems"},{"line_number":56,"context_line":"        super(RpcCallbacks, self).__init__(notifier, type_manager)"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"    def create_rpc_dispatcher(self):"}],"source_content_type":"text/x-python","patch_set":12,"id":"1ae5cdf2_3775d163","line":55,"updated":"2014-06-05 15:29:47.000000000","message":"is this probably more a FIXME?\nAlso, this class has multiple inheritance from classes which already inherit from RpcCallback... so maybe you\u0027re using it after all?","commit_id":"a347b925a2ce990d69ec1d9c48e7e36015c69db0"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"067ac3e33e4f144d663d799081ff6058ce627c0d","unresolved":false,"context_lines":[{"line_number":52,"context_line":"        # to one, this could break. Fix this and add a unit test to cover this"},{"line_number":53,"context_line":"        # test in H3."},{"line_number":54,"context_line":"        # TODO(ihrachys): we can\u0027t use rpc_compat.RpcCallback here due"},{"line_number":55,"context_line":"        # to inheritance problems"},{"line_number":56,"context_line":"        super(RpcCallbacks, self).__init__(notifier, type_manager)"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"    def create_rpc_dispatcher(self):"}],"source_content_type":"text/x-python","patch_set":12,"id":"1ae5cdf2_1b11bbaf","line":55,"in_reply_to":"1ae5cdf2_3775d163","updated":"2014-06-06 13:55:01.000000000","message":"I can\u0027t be sure since there are lots of classes with __init__ methods that don\u0027t call to super().","commit_id":"a347b925a2ce990d69ec1d9c48e7e36015c69db0"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"b762b4f0d86e31c66a48c4bcc1421d2c307edf43","unresolved":false,"context_lines":[{"line_number":52,"context_line":"        # to one, this could break. Fix this and add a unit test to cover this"},{"line_number":53,"context_line":"        # test in H3."},{"line_number":54,"context_line":"        # FIXME(ihrachys): we can\u0027t use rpc_compat.RpcCallback here due"},{"line_number":55,"context_line":"        # to inheritance problems"},{"line_number":56,"context_line":"        super(RpcCallbacks, self).__init__(notifier, type_manager)"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"    def create_rpc_dispatcher(self):"}],"source_content_type":"text/x-python","patch_set":15,"id":"1ae5cdf2_794d2799","line":55,"updated":"2014-06-09 20:53:40.000000000","message":"Observation: Composition instead of mixins would probably be the way to go here. Part of the core refactoring work I guess.","commit_id":"cf4bc2444dd6327c9c3bbfab5f3949e0e0b1cd6f"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"89a3177b77d8d1aaa6c4db1d099b35c4b3164772","unresolved":false,"context_lines":[{"line_number":52,"context_line":"        # to one, this could break. Fix this and add a unit test to cover this"},{"line_number":53,"context_line":"        # test in H3."},{"line_number":54,"context_line":"        # FIXME(ihrachys): we can\u0027t use rpc_compat.RpcCallback here due"},{"line_number":55,"context_line":"        # to inheritance problems"},{"line_number":56,"context_line":"        super(RpcCallbacks, self).__init__(notifier, type_manager)"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"    def create_rpc_dispatcher(self):"}],"source_content_type":"text/x-python","patch_set":15,"id":"1ae5cdf2_27761a3f","line":55,"in_reply_to":"1ae5cdf2_794d2799","updated":"2014-06-09 21:10:37.000000000","message":"Agree. Though this belongs to refactoring effort, not port.","commit_id":"cf4bc2444dd6327c9c3bbfab5f3949e0e0b1cd6f"}],"neutron/services/vpn/device_drivers/cisco_ipsec.py":[{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"b762b4f0d86e31c66a48c4bcc1421d2c307edf43","unresolved":false,"context_lines":[{"line_number":190,"context_line":""},{"line_number":191,"context_line":"    def __init__(self, agent, host):"},{"line_number":192,"context_line":"        # TODO(ihrachys): we can\u0027t use RpcCallback here due to"},{"line_number":193,"context_line":"        # inheritance issues"},{"line_number":194,"context_line":"        self.host \u003d host"},{"line_number":195,"context_line":"        self.conn \u003d rpc.create_connection(new\u003dTrue)"},{"line_number":196,"context_line":"        context \u003d ctx.get_admin_context_without_session()"}],"source_content_type":"text/x-python","patch_set":15,"id":"1ae5cdf2_9c6d8107","line":193,"updated":"2014-06-09 20:53:40.000000000","message":"How are the classes with inheritance issues going to work? (Do I need to review all the way to the end to find the answer? ;)","commit_id":"cf4bc2444dd6327c9c3bbfab5f3949e0e0b1cd6f"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"50e0296b79d4f67ed6354b0ceaa276868d92bb8f","unresolved":false,"context_lines":[{"line_number":190,"context_line":""},{"line_number":191,"context_line":"    def __init__(self, agent, host):"},{"line_number":192,"context_line":"        # TODO(ihrachys): we can\u0027t use RpcCallback here due to"},{"line_number":193,"context_line":"        # inheritance issues"},{"line_number":194,"context_line":"        self.host \u003d host"},{"line_number":195,"context_line":"        self.conn \u003d rpc.create_connection(new\u003dTrue)"},{"line_number":196,"context_line":"        context \u003d ctx.get_admin_context_without_session()"}],"source_content_type":"text/x-python","patch_set":15,"id":"1ae5cdf2_a1776d9e","line":193,"in_reply_to":"1ae5cdf2_27ad3a89","updated":"2014-06-10 03:29:59.000000000","message":"Thanks, I see that now in review 97291.","commit_id":"cf4bc2444dd6327c9c3bbfab5f3949e0e0b1cd6f"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"89a3177b77d8d1aaa6c4db1d099b35c4b3164772","unresolved":false,"context_lines":[{"line_number":190,"context_line":""},{"line_number":191,"context_line":"    def __init__(self, agent, host):"},{"line_number":192,"context_line":"        # TODO(ihrachys): we can\u0027t use RpcCallback here due to"},{"line_number":193,"context_line":"        # inheritance issues"},{"line_number":194,"context_line":"        self.host \u003d host"},{"line_number":195,"context_line":"        self.conn \u003d rpc.create_connection(new\u003dTrue)"},{"line_number":196,"context_line":"        context \u003d ctx.get_admin_context_without_session()"}],"source_content_type":"text/x-python","patch_set":15,"id":"1ae5cdf2_27ad3a89","line":193,"in_reply_to":"1ae5cdf2_9c6d8107","updated":"2014-06-09 21:10:37.000000000","message":"They will just fill in its self.target on their own, without relying on RpcProxy.__init__() to be called during object construction phase.","commit_id":"cf4bc2444dd6327c9c3bbfab5f3949e0e0b1cd6f"}]}
