)]}'
{"openstack_i18n/glossary_tools/read_po.py":[{"author":{"_account_id":3108,"name":"daisy-ycguo","email":"guoyingc@cn.ibm.com","username":"daisy-ycguo"},"change_message_id":"e6ab9c0ad5c5c69ce8b194e19ed4250cda7b9ee5","unresolved":false,"context_lines":[{"line_number":34,"context_line":"            catalog_in \u003d pofile.read_po(f)"},{"line_number":35,"context_line":"        data \u003d [{\u0027id\u0027: msg.id.strip(),"},{"line_number":36,"context_line":"                 \u0027string\u0027: msg.string,"},{"line_number":37,"context_line":"                 \u0027note\u0027: \u0027\u0027}"},{"line_number":38,"context_line":"                for msg in catalog_in if msg.id]"},{"line_number":39,"context_line":"        data \u003d sorted(data, key\u003dlambda x: x[\u0027id\u0027].lower())"},{"line_number":40,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"fa69d971_c9852a5a","line":37,"range":{"start_line":37,"start_character":25,"end_line":37,"end_character":28},"updated":"2016-01-06 09:29:41.000000000","message":"why not copying notes in po file into YAML file , but simply using an empty string here?","commit_id":"345fad4128682d9d1a0a60ac433186860ae75120"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"e5bea9ac8440b8be35d6474203c3fbb0964925ea","unresolved":false,"context_lines":[{"line_number":34,"context_line":"            catalog_in \u003d pofile.read_po(f)"},{"line_number":35,"context_line":"        data \u003d [{\u0027id\u0027: msg.id.strip(),"},{"line_number":36,"context_line":"                 \u0027string\u0027: msg.string,"},{"line_number":37,"context_line":"                 \u0027note\u0027: \u0027\u0027}"},{"line_number":38,"context_line":"                for msg in catalog_in if msg.id]"},{"line_number":39,"context_line":"        data \u003d sorted(data, key\u003dlambda x: x[\u0027id\u0027].lower())"},{"line_number":40,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"fa69d971_6670d5a4","line":37,"range":{"start_line":37,"start_character":25,"end_line":37,"end_character":28},"in_reply_to":"fa69d971_c9852a5a","updated":"2016-01-06 17:14:16.000000000","message":"read_po was originally created to import the current PO files into YAML files. It is not intended to be used in the usual workflow.\n\nIf you decide to use this command in usual workflow, feel free to update it.","commit_id":"345fad4128682d9d1a0a60ac433186860ae75120"}],"openstack_i18n/glossary_tools/sync.py":[{"author":{"_account_id":3108,"name":"daisy-ycguo","email":"guoyingc@cn.ibm.com","username":"daisy-ycguo"},"change_message_id":"e6ab9c0ad5c5c69ce8b194e19ed4250cda7b9ee5","unresolved":false,"context_lines":[{"line_number":72,"context_line":"        with open(outfile, \u0027w\u0027) as f:"},{"line_number":73,"context_line":"            f.write(data)"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"    def take_action(self, parsed_args):"},{"line_number":76,"context_line":"        masterdata \u003d self.load_file(parsed_args.masterfile)"},{"line_number":77,"context_line":"        langdata \u003d self.load_file(parsed_args.langfile)"},{"line_number":78,"context_line":"        self.sync_data(masterdata, langdata)"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa69d971_8925f25c","line":75,"range":{"start_line":75,"start_character":26,"end_line":75,"end_character":37},"updated":"2016-01-06 09:29:41.000000000","message":"If the output file doesn\u0027t not exist, error will occur. We must support the case that a new language team wants to generate their new glossary file based on master.yaml.","commit_id":"345fad4128682d9d1a0a60ac433186860ae75120"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"e5bea9ac8440b8be35d6474203c3fbb0964925ea","unresolved":false,"context_lines":[{"line_number":72,"context_line":"        with open(outfile, \u0027w\u0027) as f:"},{"line_number":73,"context_line":"            f.write(data)"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"    def take_action(self, parsed_args):"},{"line_number":76,"context_line":"        masterdata \u003d self.load_file(parsed_args.masterfile)"},{"line_number":77,"context_line":"        langdata \u003d self.load_file(parsed_args.langfile)"},{"line_number":78,"context_line":"        self.sync_data(masterdata, langdata)"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa69d971_e68a8563","line":75,"range":{"start_line":75,"start_character":26,"end_line":75,"end_character":37},"in_reply_to":"fa69d971_8925f25c","updated":"2016-01-06 17:14:16.000000000","message":"Feel free to update load_file.","commit_id":"345fad4128682d9d1a0a60ac433186860ae75120"}]}
