Show More
@@ -581,7 +581,9 b' class EmbeddedSphinxShell(object):' | |||
|
581 | 581 | s += "<<<" + ("-" * 73) |
|
582 | 582 | logger.warning(s) |
|
583 | 583 | if self.warning_is_error: |
|
584 | raise RuntimeError('Non Expected exception in `{}` line {}'.format(filename, lineno)) | |
|
584 | raise RuntimeError( | |
|
585 | "Unexpected exception in `{}` line {}".format(filename, lineno) | |
|
586 | ) | |
|
585 | 587 | |
|
586 | 588 | # output any warning raised during execution to stdout |
|
587 | 589 | # unless :okwarning: has been specified. |
@@ -597,7 +599,9 b' class EmbeddedSphinxShell(object):' | |||
|
597 | 599 | s += "<<<" + ("-" * 73) |
|
598 | 600 | logger.warning(s) |
|
599 | 601 | if self.warning_is_error: |
|
600 | raise RuntimeError('Non Expected warning in `{}` line {}'.format(filename, lineno)) | |
|
602 | raise RuntimeError( | |
|
603 | "Unexpected warning in `{}` line {}".format(filename, lineno) | |
|
604 | ) | |
|
601 | 605 | |
|
602 | 606 | self.clear_cout() |
|
603 | 607 | return (ret, input_lines, processed_output, |
General Comments 0
You need to be logged in to leave comments.
Login now