)]}'
{"openstack_dashboard/test/integration_tests/pages/admin/system/flavorspage.py":[{"author":{"_account_id":9981,"name":"Doug Fish","email":"drfish@us.ibm.com","username":"doug-fish"},"change_message_id":"3eed9122e7b1db79a66576681e9f6dcb7b445ee4","unresolved":false,"context_lines":[{"line_number":36,"context_line":"        self._page_title \u003d \"Flavors\""},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"    def _get_row_with_flavor_name(self, name):"},{"line_number":39,"context_line":"        return self.flavors_table.get_row(self.FLAVORS_TABLE_NAME_COLUMN, name)"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"    @property"},{"line_number":42,"context_line":"    def flavors_table(self):"}],"source_content_type":"text/x-python","patch_set":13,"id":"ba63e191_b786d211","line":39,"updated":"2016-01-18 18:24:24.000000000","message":"You\u0027re using the column names as a key here, but I think the keys are actually _escaped_ column names, because of code in horizon/tables/base.py\n\nThis is fine for simple key names that didn\u0027t need to be escaped anyway, but I expect this will fail on column names that actually get changed by escaping.\n\nI\u0027d hate to see the name escaped every time. Maybe get_row should be enhanced to include a flag to escape the name? or maybe a separate get_row_by_escaped_name type method?","commit_id":"992609b22eb9e505b1a2d42ffad430dd12efe739"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"a98fcbc5005ccc5149b35c676e873b9cff466744","unresolved":false,"context_lines":[{"line_number":36,"context_line":"        self._page_title \u003d \"Flavors\""},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"    def _get_row_with_flavor_name(self, name):"},{"line_number":39,"context_line":"        return self.flavors_table.get_row(self.FLAVORS_TABLE_NAME_COLUMN, name)"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"    @property"},{"line_number":42,"context_line":"    def flavors_table(self):"}],"source_content_type":"text/x-python","patch_set":13,"id":"ba63e191_22db821d","line":39,"in_reply_to":"ba63e191_b786d211","updated":"2016-01-18 18:43:49.000000000","message":"On a second thought, `escape(self.name)` in tables/base.py was totally redundant. The reasoning is that self.name gets its value here https://github.com/openstack/horizon/blob/master/horizon/tables/base.py#L1070 and it\u0027s an attribute name (aka variable identifier in python code) extracted in metaclass __new__ method. Value derived from python identifier cannot contain any HTML metasymbols that need to escaped, otherwise it wouldn\u0027t be a python identifier :).\n\nSo I\u0027m changing the code in tables/base.py.","commit_id":"992609b22eb9e505b1a2d42ffad430dd12efe739"}]}
