summaryrefslogtreecommitdiff
path: root/yaksh/java_stdio_evaluator.py
diff options
context:
space:
mode:
authoradityacp2018-05-24 12:37:54 +0530
committeradityacp2018-06-07 14:50:47 +0530
commit0adb0d3b79980544bb5a724ce3b106dbd8e01c9c (patch)
tree624a5947dc960a0283b606c244aeb470e94c3a57 /yaksh/java_stdio_evaluator.py
parent97b657edc2a323f832c81f0e34ce5761bd21f7e9 (diff)
downloadonline_test-0adb0d3b79980544bb5a724ce3b106dbd8e01c9c.tar.gz
online_test-0adb0d3b79980544bb5a724ce3b106dbd8e01c9c.tar.bz2
online_test-0adb0d3b79980544bb5a724ce3b106dbd8e01c9c.zip
Further pep8 changes
Diffstat (limited to 'yaksh/java_stdio_evaluator.py')
-rw-r--r--yaksh/java_stdio_evaluator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/java_stdio_evaluator.py b/yaksh/java_stdio_evaluator.py
index 6be7066..0504177 100644
--- a/yaksh/java_stdio_evaluator.py
+++ b/yaksh/java_stdio_evaluator.py
@@ -84,7 +84,7 @@ class JavaStdIOEvaluator(StdIOEvaluator):
err = err + "\n" + e.split(":", 1)[1]
else:
err = err + "\n" + e
- except:
+ except Exception:
err = err + "\n" + stdnt_stderr
mark_fraction = 1.0 if self.partial_grading and success else 0.0
return success, err, mark_fraction