)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"a9874706b7173ab6d98302ccffe4edcb68e4de83","unresolved":false,"context_lines":[{"line_number":11,"context_line":"\u0027compute:live_migration_auto_converge\u0027/\u0027compute_live_migration_auto_converge\u0027"},{"line_number":12,"context_line":"or \u0027compute:live_migration_post_copy\u0027/\u0027compute_live_migration_post_copy\u0027"},{"line_number":13,"context_line":"is True, then it will translate to trait:"},{"line_number":14,"context_line":"\"LIVE_MIGRATE_AUTO_CONVERGE\"/\"LIVE_MIGRATE_POST_COPY\": \"required\"."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"Note that if the value is equal to false, it will not be translated."},{"line_number":17,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"7faddb67_a666c2ba","line":14,"updated":"2019-08-28 13:51:01.000000000","message":"LIVE -\u003e COMPUTE","commit_id":"901d7d575148219b039e784ff34b179d25594eca"}],"nova/scheduler/utils.py":[{"author":{"_account_id":5754,"name":"Alex Xu","email":"hejie.xu@intel.com","username":"xuhj"},"change_message_id":"d14688662112cd93e0ce37bae3e535a84bae17d3","unresolved":false,"context_lines":[{"line_number":180,"context_line":"                continue"},{"line_number":181,"context_line":""},{"line_number":182,"context_line":"            if key in compute_migrate and strutils.bool_from_string(val):"},{"line_number":183,"context_line":"                ret._add_trait(None, compute_migrate[key], \"required\")"},{"line_number":184,"context_line":""},{"line_number":185,"context_line":"            match \u003d cls.XS_KEYPAT.match(key)"},{"line_number":186,"context_line":"            if not match:"}],"source_content_type":"text/x-python","patch_set":3,"id":"7faddb67_c1f34ce6","line":183,"updated":"2019-09-04 05:21:55.000000000","message":"can we follow this way https://review.opendev.org/#/c/671801/35/nova/scheduler/utils.py@191, put the translation into a sub method.","commit_id":"901d7d575148219b039e784ff34b179d25594eca"}]}
