)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"bb9a8dc3d12875033e9cd7808848779d9cfe2827","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Currently APIDefinitionFixture backs up the contents of its target dict"},{"line_number":10,"context_line":"(attributes.RESOURCES and/or an API def\u0027s RESOURCE_ATTRIBUTE_MAP) and"},{"line_number":11,"context_line":"on restore replaces the respective target with it\u0027s backup copy. While"},{"line_number":12,"context_line":"this works in a number of cases, it doesn\u0027t take into account \"longer\""},{"line_number":13,"context_line":"references to the respective dict. In some cases consumers hold a"},{"line_number":14,"context_line":"reference to an attribute dict longer than the duration of the fixture"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"ff0f0b1f_ef365e51","line":11,"range":{"start_line":11,"start_character":47,"end_line":11,"end_character":51},"updated":"2017-05-24 07:11:39.000000000","message":"its","commit_id":"3cf5136471aa5436c8068d3c533ebf47bc0cf1f3"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"ee3aadcd935331258172676481fb5f15f37c349c","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Currently APIDefinitionFixture backs up the contents of its target dict"},{"line_number":10,"context_line":"(attributes.RESOURCES and/or an API def\u0027s RESOURCE_ATTRIBUTE_MAP) and"},{"line_number":11,"context_line":"on restore replaces the respective target with it\u0027s backup copy. While"},{"line_number":12,"context_line":"this works in a number of cases, it doesn\u0027t take into account \"longer\""},{"line_number":13,"context_line":"references to the respective dict. In some cases consumers hold a"},{"line_number":14,"context_line":"reference to an attribute dict longer than the duration of the fixture"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"ff0f0b1f_43019eae","line":11,"range":{"start_line":11,"start_character":47,"end_line":11,"end_character":51},"in_reply_to":"ff0f0b1f_ef365e51","updated":"2017-05-24 10:45:24.000000000","message":"Done","commit_id":"3cf5136471aa5436c8068d3c533ebf47bc0cf1f3"}],"neutron_lib/fixture.py":[{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"bb9a8dc3d12875033e9cd7808848779d9cfe2827","unresolved":false,"context_lines":[{"line_number":144,"context_line":"        for alias, def_and_map in self._orig_attr_maps.items():"},{"line_number":145,"context_line":"            api_def, attr_map \u003d def_and_map[0], def_and_map[1]"},{"line_number":146,"context_line":"            api_def.RESOURCE_ATTRIBUTE_MAP.clear()"},{"line_number":147,"context_line":"            for resource, attrs in attr_map.items():"},{"line_number":148,"context_line":"                api_def.RESOURCE_ATTRIBUTE_MAP[resource] \u003d attrs"},{"line_number":149,"context_line":"        if self.backup_global_resources:"},{"line_number":150,"context_line":"            attributes.RESOURCES.clear()"},{"line_number":151,"context_line":"            for resource, attrs in self._orig_resources.items():"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff0f0b1f_4ff30a75","line":148,"range":{"start_line":147,"start_character":1,"end_line":148,"end_character":64},"updated":"2017-05-24 07:11:39.000000000","message":"it would be simpler to read:\n\n    api_def.RESOURCE_ATTRIBUTE_MAP.clear()\n    api_def.RESOURCE_ATTRIBUTE_MAP.update(attr_map)","commit_id":"3cf5136471aa5436c8068d3c533ebf47bc0cf1f3"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"ee3aadcd935331258172676481fb5f15f37c349c","unresolved":false,"context_lines":[{"line_number":144,"context_line":"        for alias, def_and_map in self._orig_attr_maps.items():"},{"line_number":145,"context_line":"            api_def, attr_map \u003d def_and_map[0], def_and_map[1]"},{"line_number":146,"context_line":"            api_def.RESOURCE_ATTRIBUTE_MAP.clear()"},{"line_number":147,"context_line":"            for resource, attrs in attr_map.items():"},{"line_number":148,"context_line":"                api_def.RESOURCE_ATTRIBUTE_MAP[resource] \u003d attrs"},{"line_number":149,"context_line":"        if self.backup_global_resources:"},{"line_number":150,"context_line":"            attributes.RESOURCES.clear()"},{"line_number":151,"context_line":"            for resource, attrs in self._orig_resources.items():"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff0f0b1f_2367cab9","line":148,"range":{"start_line":147,"start_character":1,"end_line":148,"end_character":64},"in_reply_to":"ff0f0b1f_4ff30a75","updated":"2017-05-24 10:45:24.000000000","message":"Done","commit_id":"3cf5136471aa5436c8068d3c533ebf47bc0cf1f3"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"bb9a8dc3d12875033e9cd7808848779d9cfe2827","unresolved":false,"context_lines":[{"line_number":149,"context_line":"        if self.backup_global_resources:"},{"line_number":150,"context_line":"            attributes.RESOURCES.clear()"},{"line_number":151,"context_line":"            for resource, attrs in self._orig_resources.items():"},{"line_number":152,"context_line":"                attributes.RESOURCES[resource] \u003d attrs"},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"    @classmethod"},{"line_number":155,"context_line":"    def all_api_definitions_fixture(cls):"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff0f0b1f_6ff7ee5a","line":152,"updated":"2017-05-24 07:11:39.000000000","message":"ditto","commit_id":"3cf5136471aa5436c8068d3c533ebf47bc0cf1f3"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"ee3aadcd935331258172676481fb5f15f37c349c","unresolved":false,"context_lines":[{"line_number":149,"context_line":"        if self.backup_global_resources:"},{"line_number":150,"context_line":"            attributes.RESOURCES.clear()"},{"line_number":151,"context_line":"            for resource, attrs in self._orig_resources.items():"},{"line_number":152,"context_line":"                attributes.RESOURCES[resource] \u003d attrs"},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"    @classmethod"},{"line_number":155,"context_line":"    def all_api_definitions_fixture(cls):"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff0f0b1f_030846d7","line":152,"in_reply_to":"ff0f0b1f_6ff7ee5a","updated":"2017-05-24 10:45:24.000000000","message":"Done","commit_id":"3cf5136471aa5436c8068d3c533ebf47bc0cf1f3"}]}
