)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":7805,"name":"Li Ma","email":"skywalker.nick@gmail.com","username":"Nick"},"change_message_id":"86b089e283d7cce2aa4692c47a3a3f76b6c87e99","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     shihanzhang \u003cshihanzhang@huawei.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2015-12-26 09:45:42 +0800"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Catch DBKeyNotFound for delete_network"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"For delete_network, there are some DB exceptions should be catched,"},{"line_number":10,"context_line":"this patch does below change:"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"1a7b0d38_a5c5bf3c","line":7,"range":{"start_line":7,"start_character":24,"end_line":7,"end_character":38},"updated":"2015-12-26 05:37:19.000000000","message":"I still wonder why this exception happens.","commit_id":"85e0146a8ec005ea3ad65727a1786e928b545612"},{"author":{"_account_id":7805,"name":"Li Ma","email":"skywalker.nick@gmail.com","username":"Nick"},"change_message_id":"86b089e283d7cce2aa4692c47a3a3f76b6c87e99","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"For delete_network, there are some DB exceptions should be catched,"},{"line_number":10,"context_line":"this patch does below change:"},{"line_number":11,"context_line":"1. catch DBKeyNotFound in mothod delete_subnet."},{"line_number":12,"context_line":"2. add DBKeyNotFound exception for get_all_entries."},{"line_number":13,"context_line":"3. catch DBKeyNotFound in method get_all_logical_ports."},{"line_number":14,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"1a7b0d38_05c7f345","line":11,"range":{"start_line":11,"start_character":26,"end_line":11,"end_character":32},"updated":"2015-12-26 05:37:19.000000000","message":"method","commit_id":"85e0146a8ec005ea3ad65727a1786e928b545612"},{"author":{"_account_id":8976,"name":"shihanzhang","email":"ayshihanzhang@gmail.com","username":"shihanzhang"},"change_message_id":"2b969c906fe9f3c412d3c22315d79e0e4e9d4e4a","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"For delete_network, there are some DB exceptions should be catched,"},{"line_number":10,"context_line":"this patch does below change:"},{"line_number":11,"context_line":"1. catch DBKeyNotFound in mothod delete_subnet."},{"line_number":12,"context_line":"2. add DBKeyNotFound exception for get_all_entries."},{"line_number":13,"context_line":"3. catch DBKeyNotFound in method get_all_logical_ports."},{"line_number":14,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"1a7b0d38_65bd9767","line":11,"range":{"start_line":11,"start_character":26,"end_line":11,"end_character":32},"in_reply_to":"1a7b0d38_05c7f345","updated":"2015-12-26 06:23:37.000000000","message":"Done","commit_id":"85e0146a8ec005ea3ad65727a1786e928b545612"}],"dragonflow/db/db_api.py":[{"author":{"_account_id":11343,"name":"Gal Sagie","email":"gal.sagie@gmail.com","username":"GalSagie"},"change_message_id":"25c1b17fc20e55ba17451da8c2f11ea039dfd6fa","unresolved":false,"context_lines":[{"line_number":99,"context_line":"        :param table:      table name"},{"line_number":100,"context_line":"        :type table:       string"},{"line_number":101,"context_line":"        :returns:          list of values"},{"line_number":102,"context_line":"        :raises:           DragonflowException.DBKeyNotFound if key not found"},{"line_number":103,"context_line":"        \"\"\""},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"    @abc.abstractmethod"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a7b0d38_3bb7a7f6","line":102,"updated":"2015-12-26 16:51:41.000000000","message":"don\u0027t think this should raise an exception, just return empty list if the table hasn\u0027t been created yet","commit_id":"85e0146a8ec005ea3ad65727a1786e928b545612"}],"dragonflow/db/drivers/etcd_db_driver.py":[{"author":{"_account_id":11343,"name":"Gal Sagie","email":"gal.sagie@gmail.com","username":"GalSagie"},"change_message_id":"25c1b17fc20e55ba17451da8c2f11ea039dfd6fa","unresolved":false,"context_lines":[{"line_number":61,"context_line":"        res \u003d []"},{"line_number":62,"context_line":"        try:"},{"line_number":63,"context_line":"            directory \u003d self.client.get(\"/\" + table)"},{"line_number":64,"context_line":"        except etcd.EtcdKeyNotFound:"},{"line_number":65,"context_line":"            raise df_exceptions.DBKeyNotFound(key\u003dtable)"},{"line_number":66,"context_line":"        for entry in directory.children:"},{"line_number":67,"context_line":"            if entry.value:"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a7b0d38_1bb2eb06","line":64,"updated":"2015-12-26 16:51:41.000000000","message":"i think the correct behaviour here is just to return empty list, just return \"res\"","commit_id":"85e0146a8ec005ea3ad65727a1786e928b545612"},{"author":{"_account_id":8976,"name":"shihanzhang","email":"ayshihanzhang@gmail.com","username":"shihanzhang"},"change_message_id":"85f6a35ae091a686acf1e10b263e4b615f51422e","unresolved":false,"context_lines":[{"line_number":61,"context_line":"        res \u003d []"},{"line_number":62,"context_line":"        try:"},{"line_number":63,"context_line":"            directory \u003d self.client.get(\"/\" + table)"},{"line_number":64,"context_line":"        except etcd.EtcdKeyNotFound:"},{"line_number":65,"context_line":"            raise df_exceptions.DBKeyNotFound(key\u003dtable)"},{"line_number":66,"context_line":"        for entry in directory.children:"},{"line_number":67,"context_line":"            if entry.value:"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a7b0d38_a1c60a66","line":64,"in_reply_to":"1a7b0d38_1bb2eb06","updated":"2015-12-27 01:31:28.000000000","message":"agree","commit_id":"85e0146a8ec005ea3ad65727a1786e928b545612"}],"dragonflow/neutron/plugin.py":[{"author":{"_account_id":11343,"name":"Gal Sagie","email":"gal.sagie@gmail.com","username":"GalSagie"},"change_message_id":"25c1b17fc20e55ba17451da8c2f11ea039dfd6fa","unresolved":false,"context_lines":[{"line_number":277,"context_line":"        # both in the case of q-dhcp and in the case of"},{"line_number":278,"context_line":"        # distributed virtual DHCP port created by DF"},{"line_number":279,"context_line":"        # Need to revisit"},{"line_number":280,"context_line":"        try:"},{"line_number":281,"context_line":"            for port in self.nb_api.get_all_logical_ports():"},{"line_number":282,"context_line":"                if port.get_lswitch_id() \u003d\u003d network_id:"},{"line_number":283,"context_line":"                    try:"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a7b0d38_fbcd9f85","line":280,"updated":"2015-12-26 16:51:41.000000000","message":"i dont understand this change, what is the difference ? there is still a try/except inside when each port is being deleted","commit_id":"85e0146a8ec005ea3ad65727a1786e928b545612"},{"author":{"_account_id":8976,"name":"shihanzhang","email":"ayshihanzhang@gmail.com","username":"shihanzhang"},"change_message_id":"85f6a35ae091a686acf1e10b263e4b615f51422e","unresolved":false,"context_lines":[{"line_number":277,"context_line":"        # both in the case of q-dhcp and in the case of"},{"line_number":278,"context_line":"        # distributed virtual DHCP port created by DF"},{"line_number":279,"context_line":"        # Need to revisit"},{"line_number":280,"context_line":"        try:"},{"line_number":281,"context_line":"            for port in self.nb_api.get_all_logical_ports():"},{"line_number":282,"context_line":"                if port.get_lswitch_id() \u003d\u003d network_id:"},{"line_number":283,"context_line":"                    try:"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a7b0d38_01cefe81","line":280,"in_reply_to":"1a7b0d38_fbcd9f85","updated":"2015-12-27 01:31:28.000000000","message":"the method get_all_logical_ports will call get_all_entries, it method call get_all_entries does not raise exception, there change is not need","commit_id":"85e0146a8ec005ea3ad65727a1786e928b545612"}]}
