)]}'
{"magnum/common/k8s_manifest.py":[{"author":{"_account_id":7049,"name":"Kai Qiang Wu(Kennan)","email":"wkq5325@gmail.com","username":"Kennan"},"change_message_id":"02a3c5fb464e18b39e9278301c41438e79e39447","unresolved":false,"context_lines":[{"line_number":44,"context_line":""},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"def simple_parse(tmpl_str):"},{"line_number":47,"context_line":"    try:"},{"line_number":48,"context_line":"        tpl \u003d json.loads(tmpl_str)"},{"line_number":49,"context_line":"    except ValueError:"},{"line_number":50,"context_line":"        try:"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a961159_648d872a","line":47,"updated":"2015-01-13 08:22:24.000000000","message":"have you checked \n\nhttps://github.com/openstack/python-heatclient/blob/master/heatclient/common/template_format.py\n? as refer for parse ?\n\nI think that seems more better.","commit_id":"d48ca3a835c03c398de87fd9577779253e260ed3"},{"author":{"_account_id":12385,"name":"Motohiro/Yuanying Otsuka","email":"yuanying@fraction.jp","username":"yuanying"},"change_message_id":"529ebb60dc9ac35823dcabc2f2d2558b54db5988","unresolved":false,"context_lines":[{"line_number":44,"context_line":""},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"def simple_parse(tmpl_str):"},{"line_number":47,"context_line":"    try:"},{"line_number":48,"context_line":"        tpl \u003d json.loads(tmpl_str)"},{"line_number":49,"context_line":"    except ValueError:"},{"line_number":50,"context_line":"        try:"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a961159_9da0fa43","line":47,"in_reply_to":"3a961159_364e4e6f","updated":"2015-01-13 14:41:08.000000000","message":"Done","commit_id":"d48ca3a835c03c398de87fd9577779253e260ed3"},{"author":{"_account_id":7494,"name":"Guangya Liu","email":"gyliu513@gmail.com","username":"JayLau"},"change_message_id":"9c07a28741e30820e125f923bda47e4e3cbb4a46","unresolved":false,"context_lines":[{"line_number":44,"context_line":""},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"def simple_parse(tmpl_str):"},{"line_number":47,"context_line":"    try:"},{"line_number":48,"context_line":"        tpl \u003d json.loads(tmpl_str)"},{"line_number":49,"context_line":"    except ValueError:"},{"line_number":50,"context_line":"        try:"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a961159_364e4e6f","line":47,"in_reply_to":"3a961159_648d872a","updated":"2015-01-13 10:52:04.000000000","message":"Yes, seems we do not need to add a new function like simple_parse but put all logic to parse directly like https://github.com/openstack/python-heatclient/blob/master/heatclient/common/template_format.py","commit_id":"d48ca3a835c03c398de87fd9577779253e260ed3"},{"author":{"_account_id":7049,"name":"Kai Qiang Wu(Kennan)","email":"wkq5325@gmail.com","username":"Kennan"},"change_message_id":"02a3c5fb464e18b39e9278301c41438e79e39447","unresolved":false,"context_lines":[{"line_number":70,"context_line":"    This includes determination of whether the string is using the"},{"line_number":71,"context_line":"    JSON or YAML format."},{"line_number":72,"context_line":"    \"\"\""},{"line_number":73,"context_line":"    # if len(tmpl_str) \u003e cfg.CONF.max_template_size:"},{"line_number":74,"context_line":"    #     msg \u003d (_(\u0027Template exceeds maximum allowed size (%s bytes)\u0027) %"},{"line_number":75,"context_line":"    #            cfg.CONF.max_template_size)"},{"line_number":76,"context_line":"    #     raise exception.RequestLimitExceeded(message\u003dmsg)"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a961159_e1096933","line":73,"updated":"2015-01-13 08:22:24.000000000","message":"remove unused code","commit_id":"d48ca3a835c03c398de87fd9577779253e260ed3"},{"author":{"_account_id":12385,"name":"Motohiro/Yuanying Otsuka","email":"yuanying@fraction.jp","username":"yuanying"},"change_message_id":"529ebb60dc9ac35823dcabc2f2d2558b54db5988","unresolved":false,"context_lines":[{"line_number":70,"context_line":"    This includes determination of whether the string is using the"},{"line_number":71,"context_line":"    JSON or YAML format."},{"line_number":72,"context_line":"    \"\"\""},{"line_number":73,"context_line":"    # if len(tmpl_str) \u003e cfg.CONF.max_template_size:"},{"line_number":74,"context_line":"    #     msg \u003d (_(\u0027Template exceeds maximum allowed size (%s bytes)\u0027) %"},{"line_number":75,"context_line":"    #            cfg.CONF.max_template_size)"},{"line_number":76,"context_line":"    #     raise exception.RequestLimitExceeded(message\u003dmsg)"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a961159_fd901eef","line":73,"in_reply_to":"3a961159_e1096933","updated":"2015-01-13 14:41:08.000000000","message":"Done","commit_id":"d48ca3a835c03c398de87fd9577779253e260ed3"},{"author":{"_account_id":668,"name":"Adrian Otto","email":"aotto@aotto.com","username":"aotto"},"change_message_id":"a2999367ea7985048a5912b8b0166568ec7c718f","unresolved":false,"context_lines":[{"line_number":35,"context_line":"    # to always return unicode objects"},{"line_number":36,"context_line":"    return self.construct_scalar(node)"},{"line_number":37,"context_line":"yaml_loader.add_constructor(u\u0027tag:yaml.org,2002:str\u0027, _construct_yaml_str)"},{"line_number":38,"context_line":"# Unquoted dates like 2013-05-23 in yaml files get loaded as objects of type"},{"line_number":39,"context_line":"# datetime.data which causes problems in API layer when being processed by"},{"line_number":40,"context_line":"# openstack.common.jsonutils. Therefore, make unicode string out of timestamps"},{"line_number":41,"context_line":"# until jsonutils can handle dates."}],"source_content_type":"text/x-python","patch_set":3,"id":"3a961159_3372d5b0","line":38,"updated":"2015-01-13 15:14:06.000000000","message":"Please open a wishlist tech-debt bug against this code. These sort of workarounds should be tracked externally as well.","commit_id":"1db6c60d3acc2702c5e88ce5abe3450b4f31e985"},{"author":{"_account_id":668,"name":"Adrian Otto","email":"aotto@aotto.com","username":"aotto"},"change_message_id":"a2999367ea7985048a5912b8b0166568ec7c718f","unresolved":false,"context_lines":[{"line_number":64,"context_line":"    if not isinstance(manifest, dict):"},{"line_number":65,"context_line":"        raise ValueError(_(\u0027The manifest is not a JSON object \u0027"},{"line_number":66,"context_line":"                           \u0027or YAML mapping.\u0027))"},{"line_number":67,"context_line":"    # TODO(yuanying): check manifest version"},{"line_number":68,"context_line":"    return manifest"}],"source_content_type":"text/x-python","patch_set":3,"id":"3a961159_135b1923","line":67,"updated":"2015-01-13 15:14:06.000000000","message":"Please file a wishlist tech-debt bug for this too.","commit_id":"1db6c60d3acc2702c5e88ce5abe3450b4f31e985"}]}
