)]}'
{"barbican/api/__init__.py":[{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"237d62504e5e3623fee2db552aeacfdcab5d7b84","unresolved":false,"context_lines":[{"line_number":75,"context_line":"        try:"},{"line_number":76,"context_line":"            parsed_body \u003d validator.validate(parsed_body)"},{"line_number":77,"context_line":"        except exception.BarbicanHTTPException as e:"},{"line_number":78,"context_line":"            LOG.exception(e.message)"},{"line_number":79,"context_line":"            pecan.abort(e.status_code, str(e.client_message))"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"    return parsed_body"}],"source_content_type":"text/x-python","patch_set":2,"id":"da86d52c_c868f923","line":78,"updated":"2015-02-03 02:41:21.000000000","message":"I see that we already have the translation in the exception class itself (via \u0027_\u0027) but what about the LE (log error, I believe)?  I\u0027m not i18n expert so I\u0027ll defer to those in the know...just pointing out a difference.","commit_id":"29672d31614fbfca2f71665787c99f277ac7997f"},{"author":{"_account_id":10873,"name":"Juan Antonio Osorio Robles","email":"jaosorior@redhat.com","username":"ejuaoso"},"change_message_id":"d80cf8bc15601f94f944bccc2fe6741e71066251","unresolved":false,"context_lines":[{"line_number":75,"context_line":"        try:"},{"line_number":76,"context_line":"            parsed_body \u003d validator.validate(parsed_body)"},{"line_number":77,"context_line":"        except exception.BarbicanHTTPException as e:"},{"line_number":78,"context_line":"            LOG.exception(e.message)"},{"line_number":79,"context_line":"            pecan.abort(e.status_code, str(e.client_message))"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"    return parsed_body"}],"source_content_type":"text/x-python","patch_set":2,"id":"da86d52c_9e2ab62a","line":78,"in_reply_to":"da86d52c_34f2d06f","updated":"2015-02-03 07:54:26.000000000","message":"So... in the documentation they only use _LE when used directly on a log statement. However, there is an example that resembles this:\n\nhttp://docs.openstack.org/developer/oslo.i18n/usage.html#creating-an-integration-module\n\nWhere, if a message is declared, and the same message is used for logging and then raised in the exception, then only the _ is used. Such as in this code.","commit_id":"29672d31614fbfca2f71665787c99f277ac7997f"},{"author":{"_account_id":9234,"name":"Steve Heyman","email":"steve@heyman.com","username":"hockeynut"},"change_message_id":"7fe919df7ff7d174a75979bbcb36a559b6eafde5","unresolved":false,"context_lines":[{"line_number":75,"context_line":"        try:"},{"line_number":76,"context_line":"            parsed_body \u003d validator.validate(parsed_body)"},{"line_number":77,"context_line":"        except exception.BarbicanHTTPException as e:"},{"line_number":78,"context_line":"            LOG.exception(e.message)"},{"line_number":79,"context_line":"            pecan.abort(e.status_code, str(e.client_message))"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"    return parsed_body"}],"source_content_type":"text/x-python","patch_set":2,"id":"da86d52c_ce631c40","line":78,"in_reply_to":"da86d52c_9e2ab62a","updated":"2015-02-05 19:23:47.000000000","message":"Awesome, thx for the clarification!","commit_id":"29672d31614fbfca2f71665787c99f277ac7997f"},{"author":{"_account_id":10873,"name":"Juan Antonio Osorio Robles","email":"jaosorior@redhat.com","username":"ejuaoso"},"change_message_id":"e5f2246aa650b797a74ff40ca5974e8b37421c07","unresolved":false,"context_lines":[{"line_number":75,"context_line":"        try:"},{"line_number":76,"context_line":"            parsed_body \u003d validator.validate(parsed_body)"},{"line_number":77,"context_line":"        except exception.BarbicanHTTPException as e:"},{"line_number":78,"context_line":"            LOG.exception(e.message)"},{"line_number":79,"context_line":"            pecan.abort(e.status_code, str(e.client_message))"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"    return parsed_body"}],"source_content_type":"text/x-python","patch_set":2,"id":"da86d52c_34f2d06f","line":78,"in_reply_to":"da86d52c_c868f923","updated":"2015-02-03 06:07:51.000000000","message":"I gotta investigate that. But I can\u0027t put LE here since the is a variable and not a strIng. It would give some warnings","commit_id":"29672d31614fbfca2f71665787c99f277ac7997f"}],"barbican/plugin/interface/secret_store.py":[{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"24437420154853cc0bd87334180509109fee7e9a","unresolved":false,"context_lines":[{"line_number":154,"context_line":"class SecretNotFoundException(exception.BarbicanHTTPException):"},{"line_number":155,"context_line":"    \"\"\"Raised when secret information could not be located.\"\"\""},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"    client_message \u003d u._(\"Not Found.  Sorry but your secret is in another \""},{"line_number":158,"context_line":"                         \"castle\")"},{"line_number":159,"context_line":"    status_code \u003d 404"},{"line_number":160,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"da86d52c_e60e3b3a","line":157,"updated":"2015-02-06 03:57:52.000000000","message":"Small nitpick, there are two spaces after the period.","commit_id":"29672d31614fbfca2f71665787c99f277ac7997f"}]}
