)]}'
{"openstack/common/rpc/impl_zmq.py":[{"author":{"_account_id":159,"name":"Eric Windisch","email":"ewindisch@docker.com","username":"ewindisch"},"change_message_id":"5a3d7e62554a47b322c72270dac5dd89b3f9d4b4","unresolved":false,"context_lines":[{"line_number":594,"context_line":"            # Blocks until receives reply"},{"line_number":595,"context_line":"            msg \u003d msg_waiter.recv()"},{"line_number":596,"context_line":"            LOG.debug(_(\"Received message: %s\"), msg)"},{"line_number":597,"context_line":"            LOG.debug(_(\"Unpacking response\"))"},{"line_number":598,"context_line":"            responses \u003d rpc_common.deserialize_msg(msg[-1])"},{"line_number":599,"context_line":"        # ZMQError trumps the Timeout error."},{"line_number":600,"context_line":"        except zmq.ZMQError:"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAM3%2F%2FzhU%3D","line":597,"updated":"2013-01-04 15:09:18.000000000","message":"Also need to _deserialize here","commit_id":"1128953b4e949419f72cc3a09c2ef46e39444b5b"},{"author":{"_account_id":159,"name":"Eric Windisch","email":"ewindisch@docker.com","username":"ewindisch"},"change_message_id":"c5ac50613c1d1213a8122e8fd85830169d70bdb0","unresolved":false,"context_lines":[{"line_number":234,"context_line":"    @classmethod"},{"line_number":235,"context_line":"    def marshal(self, ctx):"},{"line_number":236,"context_line":"        ctx_data \u003d ctx.to_dict()"},{"line_number":237,"context_line":"        return _serialize(rpc_common.serialize_msg(ctx_data))"},{"line_number":238,"context_line":""},{"line_number":239,"context_line":"    @classmethod"},{"line_number":240,"context_line":"    def unmarshal(self, data):"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2Fy0E%3D","line":237,"updated":"2013-01-04 20:59:50.000000000","message":"This is bundled inside of the message and shouldn\u0027t be run through serialize_msg (actually, we might not need to do any serialization here... but best to revert to only _serialize() for now.","commit_id":"4b908e6e0846b56b4df04e12ef963256bb8457d5"},{"author":{"_account_id":1561,"name":"Russell Bryant","email":"rbryant@redhat.com","username":"russellb"},"change_message_id":"be6990ec493704e9123d4850a1855421e0a3794c","unresolved":false,"context_lines":[{"line_number":234,"context_line":"    @classmethod"},{"line_number":235,"context_line":"    def marshal(self, ctx):"},{"line_number":236,"context_line":"        ctx_data \u003d ctx.to_dict()"},{"line_number":237,"context_line":"        return _serialize(rpc_common.serialize_msg(ctx_data))"},{"line_number":238,"context_line":""},{"line_number":239,"context_line":"    @classmethod"},{"line_number":240,"context_line":"    def unmarshal(self, data):"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2Fv1g%3D","line":237,"in_reply_to":"AAAAM3%2F%2Fy0E%3D","updated":"2013-01-07 20:08:34.000000000","message":"Done","commit_id":"4b908e6e0846b56b4df04e12ef963256bb8457d5"},{"author":{"_account_id":159,"name":"Eric Windisch","email":"ewindisch@docker.com","username":"ewindisch"},"change_message_id":"c5ac50613c1d1213a8122e8fd85830169d70bdb0","unresolved":false,"context_lines":[{"line_number":239,"context_line":"    @classmethod"},{"line_number":240,"context_line":"    def unmarshal(self, data):"},{"line_number":241,"context_line":"        return RpcContext.from_dict("},{"line_number":242,"context_line":"            rpc_common.deserialize_msg(_deserialize(data)))"},{"line_number":243,"context_line":""},{"line_number":244,"context_line":""},{"line_number":245,"context_line":"class InternalContext(object):"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2Fyz8%3D","line":242,"updated":"2013-01-04 20:59:50.000000000","message":"ditto","commit_id":"4b908e6e0846b56b4df04e12ef963256bb8457d5"},{"author":{"_account_id":1561,"name":"Russell Bryant","email":"rbryant@redhat.com","username":"russellb"},"change_message_id":"be6990ec493704e9123d4850a1855421e0a3794c","unresolved":false,"context_lines":[{"line_number":239,"context_line":"    @classmethod"},{"line_number":240,"context_line":"    def unmarshal(self, data):"},{"line_number":241,"context_line":"        return RpcContext.from_dict("},{"line_number":242,"context_line":"            rpc_common.deserialize_msg(_deserialize(data)))"},{"line_number":243,"context_line":""},{"line_number":244,"context_line":""},{"line_number":245,"context_line":"class InternalContext(object):"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2Fv1c%3D","line":242,"in_reply_to":"AAAAM3%2F%2Fyz8%3D","updated":"2013-01-07 20:08:34.000000000","message":"Done","commit_id":"4b908e6e0846b56b4df04e12ef963256bb8457d5"},{"author":{"_account_id":159,"name":"Eric Windisch","email":"ewindisch@docker.com","username":"ewindisch"},"change_message_id":"120f3f8d6e91c9415861db4862cb6b9ea4ffe6c6","unresolved":false,"context_lines":[{"line_number":441,"context_line":"            response \u003d inside[-1][\u0027args\u0027][\u0027response\u0027]"},{"line_number":442,"context_line":"            LOG.debug(_(\"-\u003eresponse-\u003e%s\"), response)"},{"line_number":443,"context_line":"            data \u003d [str(msg_id),"},{"line_number":444,"context_line":"                    _serialize(rpc_common.serialize_msg(response))]"},{"line_number":445,"context_line":"        else:"},{"line_number":446,"context_line":"            sock_type \u003d zmq.PUSH"},{"line_number":447,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FzGA%3D","line":444,"updated":"2013-01-04 19:07:28.000000000","message":"This is IPC, so I don\u0027t see why we\u0027d use rpc_common.serialize_msg here. We DO need to use _serialize, however.","commit_id":"4b908e6e0846b56b4df04e12ef963256bb8457d5"},{"author":{"_account_id":1561,"name":"Russell Bryant","email":"rbryant@redhat.com","username":"russellb"},"change_message_id":"be6990ec493704e9123d4850a1855421e0a3794c","unresolved":false,"context_lines":[{"line_number":441,"context_line":"            response \u003d inside[-1][\u0027args\u0027][\u0027response\u0027]"},{"line_number":442,"context_line":"            LOG.debug(_(\"-\u003eresponse-\u003e%s\"), response)"},{"line_number":443,"context_line":"            data \u003d [str(msg_id),"},{"line_number":444,"context_line":"                    _serialize(rpc_common.serialize_msg(response))]"},{"line_number":445,"context_line":"        else:"},{"line_number":446,"context_line":"            sock_type \u003d zmq.PUSH"},{"line_number":447,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2Fv1Y%3D","line":444,"in_reply_to":"AAAAM3%2F%2FzGA%3D","updated":"2013-01-07 20:08:34.000000000","message":"Done","commit_id":"4b908e6e0846b56b4df04e12ef963256bb8457d5"},{"author":{"_account_id":159,"name":"Eric Windisch","email":"ewindisch@docker.com","username":"ewindisch"},"change_message_id":"120f3f8d6e91c9415861db4862cb6b9ea4ffe6c6","unresolved":false,"context_lines":[{"line_number":595,"context_line":"            msg \u003d msg_waiter.recv()"},{"line_number":596,"context_line":"            LOG.debug(_(\"Received message: %s\"), msg)"},{"line_number":597,"context_line":"            LOG.debug(_(\"Unpacking response\"))"},{"line_number":598,"context_line":"            responses \u003d rpc_common.deserialize_msg(_deserialize(msg[-1]))"},{"line_number":599,"context_line":"        # ZMQError trumps the Timeout error."},{"line_number":600,"context_line":"        except zmq.ZMQError:"},{"line_number":601,"context_line":"            raise RPCException(\"ZMQ Socket Error\")"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2FzGI%3D","line":598,"updated":"2013-01-04 19:07:28.000000000","message":"On second thought... this is only deserializing IPC. There is no reason we should be using rpc_common.deserialize_msg here.\n\nThis would need to be paired with a drop of rpc_common.serialize_msg on line 444","commit_id":"4b908e6e0846b56b4df04e12ef963256bb8457d5"},{"author":{"_account_id":1561,"name":"Russell Bryant","email":"rbryant@redhat.com","username":"russellb"},"change_message_id":"be6990ec493704e9123d4850a1855421e0a3794c","unresolved":false,"context_lines":[{"line_number":595,"context_line":"            msg \u003d msg_waiter.recv()"},{"line_number":596,"context_line":"            LOG.debug(_(\"Received message: %s\"), msg)"},{"line_number":597,"context_line":"            LOG.debug(_(\"Unpacking response\"))"},{"line_number":598,"context_line":"            responses \u003d rpc_common.deserialize_msg(_deserialize(msg[-1]))"},{"line_number":599,"context_line":"        # ZMQError trumps the Timeout error."},{"line_number":600,"context_line":"        except zmq.ZMQError:"},{"line_number":601,"context_line":"            raise RPCException(\"ZMQ Socket Error\")"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAM3%2F%2Fv1Q%3D","line":598,"in_reply_to":"AAAAM3%2F%2FzGI%3D","updated":"2013-01-07 20:08:34.000000000","message":"Done","commit_id":"4b908e6e0846b56b4df04e12ef963256bb8457d5"}]}
