)]}'
{"pbr/packaging.py":[{"author":{"_account_id":9107,"name":"Victor Stinner","email":"vstinner@redhat.com","username":"haypo"},"change_message_id":"a4dfe6359d2e0314a4dd5c6c836fa0b15a1d6676","unresolved":false,"context_lines":[{"line_number":625,"context_line":"            continue"},{"line_number":626,"context_line":"        try:"},{"line_number":627,"context_line":"            pkg_metadata \u003d email.message_from_file(pkg_metadata_file)"},{"line_number":628,"context_line":"        except Exception:"},{"line_number":629,"context_line":"            continue"},{"line_number":630,"context_line":""},{"line_number":631,"context_line":"    # Check to make sure we\u0027re in our own dir"}],"source_content_type":"text/x-python","patch_set":1,"id":"5aef4532_cc5d77ee","line":628,"range":{"start_line":628,"start_character":15,"end_line":628,"end_character":24},"updated":"2016-03-07 09:13:24.000000000","message":"I would prefer to use a more narrow exception.\n\nI tried various text files, but I failed to get a parser error. I only got UnicodeDecodeError when trying to parse /dev/urandom.","commit_id":"f7822108adfc9a12e967d1a3d73561dad339d1a1"},{"author":{"_account_id":9107,"name":"Victor Stinner","email":"vstinner@redhat.com","username":"haypo"},"change_message_id":"584206b8cc0ad055759dccb5bda6a31fa3f11085","unresolved":false,"context_lines":[{"line_number":625,"context_line":"            continue"},{"line_number":626,"context_line":"        try:"},{"line_number":627,"context_line":"            pkg_metadata \u003d email.message_from_file(pkg_metadata_file)"},{"line_number":628,"context_line":"        except Exception:"},{"line_number":629,"context_line":"            continue"},{"line_number":630,"context_line":""},{"line_number":631,"context_line":"    # Check to make sure we\u0027re in our own dir"}],"source_content_type":"text/x-python","patch_set":1,"id":"5aef4532_ec1033ab","line":628,"range":{"start_line":628,"start_character":15,"end_line":628,"end_character":24},"in_reply_to":"5aef4532_cc5d77ee","updated":"2016-03-07 09:15:51.000000000","message":"It looks like the behaviour on error depends on the policy, and that all email exceptions inherit from message.errors.MessageError.","commit_id":"f7822108adfc9a12e967d1a3d73561dad339d1a1"}]}
