)]}'
{"networking_odl/common/postcommit.py":[{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"239f9d417841099e878307ec9a52c678bf1325ae","unresolved":false,"context_lines":[{"line_number":14,"context_line":"#    under the License."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"def _postcommit(self, context):"},{"line_number":18,"context_line":"    self.journal.set_sync_event()"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"7ffa3b31_6b56542c","line":17,"range":{"start_line":17,"start_character":20,"end_line":17,"end_character":29},"updated":"2017-04-17 17:50:11.000000000","message":"this argument can be different.\nthis should be (self, *args) to accept method definitions.\n**kwargs may also be necessary. Please check it.","commit_id":"36fce8844bce6c6f69ba47cf8d6ba39daae04145"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"db7bf61da8be0b50e080d9a3a422220ddf57143c","unresolved":false,"context_lines":[{"line_number":22,"context_line":"    def postcommit(cls):"},{"line_number":23,"context_line":"        for arg in args:"},{"line_number":24,"context_line":"            method \u003d (\"%s_postcommit\" % (arg))"},{"line_number":25,"context_line":"            setattr(cls, method, _postcommit)"},{"line_number":26,"context_line":"        return cls"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"    return postcommit"}],"source_content_type":"text/x-python","patch_set":2,"id":"7ffa3b31_071d71bc","line":25,"updated":"2017-04-18 08:57:25.000000000","message":"i guess it\u0027s better to do something like this.\nhttps://github.com/openstack/networking-midonet/blob/790a0ef22c43323de62e6e2e71bd82e9ad4aba7f/midonet/neutron/common/utils.py#L58-L64","commit_id":"0c77474262c1b0bb65f330a113202fb9ac2d5d30"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"8ad3047164e86c8055173028d6717f67450ab8c3","unresolved":false,"context_lines":[{"line_number":20,"context_line":""},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"def _build_func(client_method):"},{"line_number":23,"context_line":"    def f(self, *args, **kwargs):"},{"line_number":24,"context_line":"        self.journal.set_sync_event()"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"    f.__name__ \u003d client_method"}],"source_content_type":"text/x-python","patch_set":4,"id":"5ff73747_03db727d","line":23,"updated":"2017-05-02 12:19:49.000000000","message":"here we can use log decorator directry.","commit_id":"6cccb409ff45dd39e21a3b6b796ed5173f7f4546"},{"author":{"_account_id":13912,"name":"rajiv","email":"thenakliman@gmail.com","username":"rajiv.kumar"},"change_message_id":"6a8e4a7edb55e5f663cd8d9ae039d2af0de04786","unresolved":false,"context_lines":[{"line_number":20,"context_line":""},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"def _build_func(client_method):"},{"line_number":23,"context_line":"    def f(self, *args, **kwargs):"},{"line_number":24,"context_line":"        self.journal.set_sync_event()"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"    f.__name__ \u003d client_method"}],"source_content_type":"text/x-python","patch_set":4,"id":"5ff73747_5fa38601","line":23,"in_reply_to":"5ff73747_03db727d","updated":"2017-05-02 17:03:31.000000000","message":"I think this statement will be converted to\n\nf \u003d log_method_call(f)\n\nthe statement \"f.__name__ \u003d client_method\" just after the it will assign the name to log_method_call function not to f. Which is not intended. I think, currently it has been done in _build_method function and is a good place to do.","commit_id":"6cccb409ff45dd39e21a3b6b796ed5173f7f4546"}],"networking_odl/tests/unit/common/test_postcommit.py":[{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"8ad3047164e86c8055173028d6717f67450ab8c3","unresolved":false,"context_lines":[{"line_number":30,"context_line":"        m_names \u003d []"},{"line_number":31,"context_line":"        for resource in resources:"},{"line_number":32,"context_line":"            for op in ops:"},{"line_number":33,"context_line":"                m_names.append(op + \u0027_\u0027 + resource + \u0027_postcommit\u0027)"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"        return m_names"},{"line_number":36,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"5ff73747_036b721f","line":33,"updated":"2017-05-02 12:19:49.000000000","message":"list comprehension can be used for concise.","commit_id":"6cccb409ff45dd39e21a3b6b796ed5173f7f4546"}]}
