--- a/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleChecker.py Wed Jan 01 14:39:32 2014 +0100 +++ b/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleChecker.py Sun Jan 05 23:22:17 2014 +0100 @@ -50,6 +50,8 @@ brackets (boolean) @keyparam docType type of the documentation strings (string, one of 'eric' or 'pep257') + @exception AssertionError raised if the docType argument is not + "eric" or "pep257" """ assert docType in ("eric", "pep257") @@ -107,6 +109,10 @@ index += 1 break + if output[index] == "EXCEPTION": + exceptionText = os.linesep.join(output[index + 2:]) + raise RuntimeError(exceptionText) + fname = output[index + 1] lineno = int(output[index + 2]) position = int(output[index + 3])