)]}'
{"rst2bash/parser.py":[{"author":{"_account_id":7007,"name":"Pranav Salunke","email":"dguitarbite@gmail.com","username":"dguitarbite"},"change_message_id":"d32043038a2ea914ca812a38965c6e959c43b66f","unresolved":false,"context_lines":[{"line_number":671,"context_line":""},{"line_number":672,"context_line":"            if not code_blocks.write_bash_code():"},{"line_number":673,"context_line":"                msg \u003d \"Could not write to bash: %s\" % rst_file_path"},{"line_number":674,"context_line":"                raise ParserErr.Rst2BashError(msg)"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"        except (ParserErr.InvalidCodeBlockError,"},{"line_number":677,"context_line":"                ParserErr.InvalidOperatorError,"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba5201f7_ba8a71bd","side":"PARENT","line":674,"updated":"2017-01-11 16:13:12.000000000","message":"I wanted to explicitly raise this error, is it already handled somewhere else? I am concerned about raising this error in the right way.","commit_id":"68b8c03838b2012fe127d8d42d28cfb80020e876"},{"author":{"_account_id":11109,"name":"Roger Luethi","email":"rl@patchworkscience.org","username":"rluethi"},"change_message_id":"7df61fdc99537b28c14d0ae3fee795bdb91455b0","unresolved":false,"context_lines":[{"line_number":671,"context_line":""},{"line_number":672,"context_line":"            if not code_blocks.write_bash_code():"},{"line_number":673,"context_line":"                msg \u003d \"Could not write to bash: %s\" % rst_file_path"},{"line_number":674,"context_line":"                raise ParserErr.Rst2BashError(msg)"},{"line_number":675,"context_line":""},{"line_number":676,"context_line":"        except (ParserErr.InvalidCodeBlockError,"},{"line_number":677,"context_line":"                ParserErr.InvalidOperatorError,"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba5201f7_a6e410e0","side":"PARENT","line":674,"in_reply_to":"ba5201f7_ba8a71bd","updated":"2017-01-11 20:23:54.000000000","message":"Like I said, you get the default stacktrace which is more helpful than a terse message \"Could not write to bash: %s\". But the lines 673 and 674 above are unreachable code anyway -- they cannot possibly execute, ever.","commit_id":"68b8c03838b2012fe127d8d42d28cfb80020e876"},{"author":{"_account_id":7007,"name":"Pranav Salunke","email":"dguitarbite@gmail.com","username":"dguitarbite"},"change_message_id":"d32043038a2ea914ca812a38965c6e959c43b66f","unresolved":false,"context_lines":[{"line_number":679,"context_line":"                ParserErr.MissingTagsError) as ex:"},{"line_number":680,"context_line":"            parser_message \u003d parser_message + repr(ex) + \"\\n\""},{"line_number":681,"context_line":"            logger.error(repr(ex))"},{"line_number":682,"context_line":"        except ParserErr.Rst2BashError as ex:"},{"line_number":683,"context_line":"            pass"},{"line_number":684,"context_line":"        else:"},{"line_number":685,"context_line":"            parser_message \u003d \"Success :): parsed %s to bash. :D\""}],"source_content_type":"text/x-python","patch_set":1,"id":"ba5201f7_1a7c5db4","side":"PARENT","line":682,"updated":"2017-01-11 16:13:12.000000000","message":"This is the base exception, I would like to catch it.","commit_id":"68b8c03838b2012fe127d8d42d28cfb80020e876"},{"author":{"_account_id":11109,"name":"Roger Luethi","email":"rl@patchworkscience.org","username":"rluethi"},"change_message_id":"7df61fdc99537b28c14d0ae3fee795bdb91455b0","unresolved":false,"context_lines":[{"line_number":679,"context_line":"                ParserErr.MissingTagsError) as ex:"},{"line_number":680,"context_line":"            parser_message \u003d parser_message + repr(ex) + \"\\n\""},{"line_number":681,"context_line":"            logger.error(repr(ex))"},{"line_number":682,"context_line":"        except ParserErr.Rst2BashError as ex:"},{"line_number":683,"context_line":"            pass"},{"line_number":684,"context_line":"        else:"},{"line_number":685,"context_line":"            parser_message \u003d \"Success :): parsed %s to bash. :D\""}],"source_content_type":"text/x-python","patch_set":1,"id":"ba5201f7_e6037840","side":"PARENT","line":682,"in_reply_to":"ba5201f7_1a7c5db4","updated":"2017-01-11 20:23:54.000000000","message":"If execution ever gets here, it is an unhandled bug. Why would you want to silence it?","commit_id":"68b8c03838b2012fe127d8d42d28cfb80020e876"}]}
