)]}'
{"zun/db/etcd/api.py":[{"author":{"_account_id":16277,"name":"Pradeep Kumar Singh","email":"ps4openstack@gmail.com","username":"pradeep_singh"},"change_message_id":"81553d6cb25e9fb90de41368b198e982c4726756","unresolved":false,"context_lines":[{"line_number":63,"context_line":""},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"def translate_etcd_result(etcd_result, model_type):"},{"line_number":66,"context_line":"    \"\"\"Translate etcd unicode result to etcd.models.Container.\"\"\""},{"line_number":67,"context_line":"    try:"},{"line_number":68,"context_line":"        data \u003d json.loads(etcd_result.value)"},{"line_number":69,"context_line":"        ret \u003d None"}],"source_content_type":"text/x-python","patch_set":1,"id":"7a77a97e_c8c5f83c","line":66,"updated":"2016-11-16 04:47:04.000000000","message":"Its also translating zun_service now.","commit_id":"04fb8bb2b2164151e3c43bb924129d4f7be2be2d"},{"author":{"_account_id":13248,"name":"Wenzhi Yu","email":"wenzhi_yu@163.com","username":"yuywz"},"change_message_id":"41838b0679acdc8238710d8b9ed2f67060bc5e07","unresolved":false,"context_lines":[{"line_number":63,"context_line":""},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"def translate_etcd_result(etcd_result, model_type):"},{"line_number":66,"context_line":"    \"\"\"Translate etcd unicode result to etcd.models.Container.\"\"\""},{"line_number":67,"context_line":"    try:"},{"line_number":68,"context_line":"        data \u003d json.loads(etcd_result.value)"},{"line_number":69,"context_line":"        ret \u003d None"}],"source_content_type":"text/x-python","patch_set":1,"id":"7a77a97e_cf1ea5ba","line":66,"in_reply_to":"7a77a97e_c8c5f83c","updated":"2016-11-17 02:51:33.000000000","message":"Done","commit_id":"04fb8bb2b2164151e3c43bb924129d4f7be2be2d"},{"author":{"_account_id":16277,"name":"Pradeep Kumar Singh","email":"ps4openstack@gmail.com","username":"pradeep_singh"},"change_message_id":"81553d6cb25e9fb90de41368b198e982c4726756","unresolved":false,"context_lines":[{"line_number":269,"context_line":"            res \u003d getattr(self.client.read(\u0027/zun_services\u0027), \u0027children\u0027, None)"},{"line_number":270,"context_line":"        except etcd.EtcdKeyNotFound as e:"},{"line_number":271,"context_line":"            LOG.error("},{"line_number":272,"context_line":"                _LE(\"Error occurred while reading from etcd server: %s\"),"},{"line_number":273,"context_line":"                six.text_type(e))"},{"line_number":274,"context_line":"            raise"},{"line_number":275,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"7a77a97e_e84554b3","line":272,"updated":"2016-11-16 04:47:04.000000000","message":"Is the error message correct? I think its not the error but entry is not in etcd?","commit_id":"04fb8bb2b2164151e3c43bb924129d4f7be2be2d"},{"author":{"_account_id":13248,"name":"Wenzhi Yu","email":"wenzhi_yu@163.com","username":"yuywz"},"change_message_id":"41838b0679acdc8238710d8b9ed2f67060bc5e07","unresolved":false,"context_lines":[{"line_number":269,"context_line":"            res \u003d getattr(self.client.read(\u0027/zun_services\u0027), \u0027children\u0027, None)"},{"line_number":270,"context_line":"        except etcd.EtcdKeyNotFound as e:"},{"line_number":271,"context_line":"            LOG.error("},{"line_number":272,"context_line":"                _LE(\"Error occurred while reading from etcd server: %s\"),"},{"line_number":273,"context_line":"                six.text_type(e))"},{"line_number":274,"context_line":"            raise"},{"line_number":275,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"7a77a97e_0f7b3df6","line":272,"in_reply_to":"7a77a97e_e84554b3","updated":"2016-11-17 02:51:33.000000000","message":"Done","commit_id":"04fb8bb2b2164151e3c43bb924129d4f7be2be2d"},{"author":{"_account_id":16277,"name":"Pradeep Kumar Singh","email":"ps4openstack@gmail.com","username":"pradeep_singh"},"change_message_id":"81553d6cb25e9fb90de41368b198e982c4726756","unresolved":false,"context_lines":[{"line_number":271,"context_line":"            LOG.error("},{"line_number":272,"context_line":"                _LE(\"Error occurred while reading from etcd server: %s\"),"},{"line_number":273,"context_line":"                six.text_type(e))"},{"line_number":274,"context_line":"            raise"},{"line_number":275,"context_line":""},{"line_number":276,"context_line":"        services \u003d []"},{"line_number":277,"context_line":"        for c in res:"}],"source_content_type":"text/x-python","patch_set":1,"id":"7a77a97e_0861b039","line":274,"updated":"2016-11-16 04:47:04.000000000","message":"I think we can except Exception here, what do you think?","commit_id":"04fb8bb2b2164151e3c43bb924129d4f7be2be2d"},{"author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"change_message_id":"966830cab75556a75afa3d382c29451b89fd695c","unresolved":false,"context_lines":[{"line_number":303,"context_line":"            raise exception.ZunServiceNotFound(host\u003dhost, binary\u003dbinary)"},{"line_number":304,"context_line":"        except Exception as e:"},{"line_number":305,"context_line":"            LOG.error(_LE(\u0027Error occurred while destroying zun service: %s\u0027),"},{"line_number":306,"context_line":"                      six.text_type(e))"},{"line_number":307,"context_line":""},{"line_number":308,"context_line":"    def update_zun_service(self, host, binary, values):"},{"line_number":309,"context_line":"        try:"}],"source_content_type":"text/x-python","patch_set":1,"id":"7a77a97e_7465ab43","line":306,"updated":"2016-11-15 22:05:56.000000000","message":"miss a raise?","commit_id":"04fb8bb2b2164151e3c43bb924129d4f7be2be2d"},{"author":{"_account_id":16277,"name":"Pradeep Kumar Singh","email":"ps4openstack@gmail.com","username":"pradeep_singh"},"change_message_id":"81553d6cb25e9fb90de41368b198e982c4726756","unresolved":false,"context_lines":[{"line_number":303,"context_line":"            raise exception.ZunServiceNotFound(host\u003dhost, binary\u003dbinary)"},{"line_number":304,"context_line":"        except Exception as e:"},{"line_number":305,"context_line":"            LOG.error(_LE(\u0027Error occurred while destroying zun service: %s\u0027),"},{"line_number":306,"context_line":"                      six.text_type(e))"},{"line_number":307,"context_line":""},{"line_number":308,"context_line":"    def update_zun_service(self, host, binary, values):"},{"line_number":309,"context_line":"        try:"}],"source_content_type":"text/x-python","patch_set":1,"id":"7a77a97e_8855c051","line":306,"in_reply_to":"7a77a97e_7465ab43","updated":"2016-11-16 04:47:04.000000000","message":"+1","commit_id":"04fb8bb2b2164151e3c43bb924129d4f7be2be2d"},{"author":{"_account_id":13248,"name":"Wenzhi Yu","email":"wenzhi_yu@163.com","username":"yuywz"},"change_message_id":"41838b0679acdc8238710d8b9ed2f67060bc5e07","unresolved":false,"context_lines":[{"line_number":303,"context_line":"            raise exception.ZunServiceNotFound(host\u003dhost, binary\u003dbinary)"},{"line_number":304,"context_line":"        except Exception as e:"},{"line_number":305,"context_line":"            LOG.error(_LE(\u0027Error occurred while destroying zun service: %s\u0027),"},{"line_number":306,"context_line":"                      six.text_type(e))"},{"line_number":307,"context_line":""},{"line_number":308,"context_line":"    def update_zun_service(self, host, binary, values):"},{"line_number":309,"context_line":"        try:"}],"source_content_type":"text/x-python","patch_set":1,"id":"7a77a97e_6f8671dc","line":306,"in_reply_to":"7a77a97e_8855c051","updated":"2016-11-17 02:51:33.000000000","message":"Done","commit_id":"04fb8bb2b2164151e3c43bb924129d4f7be2be2d"}]}
