)]}'
{"glance/db/sqlalchemy/api.py":[{"author":{"_account_id":14676,"name":"Kairat Kushaev","email":"kkushaev@mirantis.com","username":"kairat_kushaev"},"change_message_id":"11ed1fdb8dbffb4f3a77c2bcfdab18a0a759ac44","unresolved":false,"context_lines":[{"line_number":1270,"context_line":"            tables.remove(tbl)"},{"line_number":1271,"context_line":"        except ValueError:"},{"line_number":1272,"context_line":"            LOG.warning(_LW(\u0027Expected table %(tbl)s was not found in DB.\u0027),"},{"line_number":1273,"context_line":"                        locals())"},{"line_number":1274,"context_line":"        else:"},{"line_number":1275,"context_line":"            tables.append(tbl)"},{"line_number":1276,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"9aed3d3a_165198d8","line":1273,"updated":"2016-02-29 12:45:42.000000000","message":"Is it possible to replace these locals() calls with actual variables(tbl and others)?\nI think these locals was used improperly because LOG messages might be broken is somebody rename variable. It is also not so simple to review that code (so it doesn\u0027t follow KISS).","commit_id":"047494c6d2999c37d564e96978db5034bacd354d"},{"author":{"_account_id":20191,"name":"Dinesh Bhor","email":"bhordinesh07@gmail.com","username":"dineshbhor"},"change_message_id":"18b5de4bedd4b9c67278ed17784037819e22f63e","unresolved":false,"context_lines":[{"line_number":1270,"context_line":"            tables.remove(tbl)"},{"line_number":1271,"context_line":"        except ValueError:"},{"line_number":1272,"context_line":"            LOG.warning(_LW(\u0027Expected table %(tbl)s was not found in DB.\u0027),"},{"line_number":1273,"context_line":"                        locals())"},{"line_number":1274,"context_line":"        else:"},{"line_number":1275,"context_line":"            tables.append(tbl)"},{"line_number":1276,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"9aed3d3a_df438e6a","line":1273,"in_reply_to":"9aed3d3a_165198d8","updated":"2016-03-01 07:17:47.000000000","message":"Done","commit_id":"047494c6d2999c37d564e96978db5034bacd354d"}]}
