)]}'
{"ironic/api/controllers/v1/types.py":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"3945156dfe65d33e9a9ba3df8aada2d79c3e1220","unresolved":false,"context_lines":[{"line_number":177,"context_line":""},{"line_number":178,"context_line":"    @staticmethod"},{"line_number":179,"context_line":"    def validate(patch):"},{"line_number":180,"context_line":"        if patch.check_internal_attrs():"},{"line_number":181,"context_line":"            msg \u003d _(\"\u0027%s\u0027 is an internal attribute and can not be updated\")"},{"line_number":182,"context_line":"            raise wsme.exc.ClientSideError(msg % patch.path)"},{"line_number":183,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"fa81d914_832b6dea","line":180,"updated":"2015-01-28 14:33:51.000000000","message":"I guess it should be smth like:\n\n if patch.path.split(\u0027/\u0027)[1] in patch.internal_attrs():\n\nand no magic :)","commit_id":"92623712598161f0615904619ed6e762d136684c"},{"author":{"_account_id":13362,"name":"Tan Lin","email":"lin.tan@intel.com","username":"zero"},"change_message_id":"d657bdcdb0885bba97f8c6b22250634949a67bae","unresolved":false,"context_lines":[{"line_number":177,"context_line":""},{"line_number":178,"context_line":"    @staticmethod"},{"line_number":179,"context_line":"    def validate(patch):"},{"line_number":180,"context_line":"        if patch.check_internal_attrs():"},{"line_number":181,"context_line":"            msg \u003d _(\"\u0027%s\u0027 is an internal attribute and can not be updated\")"},{"line_number":182,"context_line":"            raise wsme.exc.ClientSideError(msg % patch.path)"},{"line_number":183,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"fa81d914_60100802","line":180,"in_reply_to":"fa81d914_832b6dea","updated":"2015-01-29 03:20:25.000000000","message":"Thanks, this is better.","commit_id":"92623712598161f0615904619ed6e762d136684c"}],"ironic/tests/db/sqlalchemy/test_migrations.py":[{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"dfe159c14ee31821816c4d515040c1ee8d5dca8e","unresolved":false,"context_lines":[{"line_number":332,"context_line":"        nodes \u003d db_utils.get_table(engine, \u0027nodes\u0027)"},{"line_number":333,"context_line":"        col_names \u003d [column.name for column in nodes.c]"},{"line_number":334,"context_line":"        self.assertIn(\u0027driver_internal_info\u0027, col_names)"},{"line_number":335,"context_line":"        self.assertIsInstance(nodes.c.maintenance_reason.type,"},{"line_number":336,"context_line":"                              sqlalchemy.types.TEXT)"},{"line_number":337,"context_line":""},{"line_number":338,"context_line":"    def test_upgrade_and_version(self):"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa81d914_23c1e180","line":335,"updated":"2015-01-28 14:23:43.000000000","message":"this line appears incorrect\n\ns/maintenance_reason/driver_internal_info/","commit_id":"92623712598161f0615904619ed6e762d136684c"},{"author":{"_account_id":13362,"name":"Tan Lin","email":"lin.tan@intel.com","username":"zero"},"change_message_id":"d657bdcdb0885bba97f8c6b22250634949a67bae","unresolved":false,"context_lines":[{"line_number":332,"context_line":"        nodes \u003d db_utils.get_table(engine, \u0027nodes\u0027)"},{"line_number":333,"context_line":"        col_names \u003d [column.name for column in nodes.c]"},{"line_number":334,"context_line":"        self.assertIn(\u0027driver_internal_info\u0027, col_names)"},{"line_number":335,"context_line":"        self.assertIsInstance(nodes.c.maintenance_reason.type,"},{"line_number":336,"context_line":"                              sqlalchemy.types.TEXT)"},{"line_number":337,"context_line":""},{"line_number":338,"context_line":"    def test_upgrade_and_version(self):"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa81d914_0df94a80","line":335,"in_reply_to":"fa81d914_23c1e180","updated":"2015-01-29 03:20:25.000000000","message":"Done","commit_id":"92623712598161f0615904619ed6e762d136684c"}]}
