From 6b8f8f53d7110e27bc44f0d50b8b3155155932f6 Mon Sep 17 00:00:00 2001 From: maheshgudi Date: Fri, 6 Jan 2017 14:43:06 +0530 Subject: added hook evaluator type tuple in forms and fixed limit=0 mistake in grader --- yaksh/grader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yaksh/grader.py') diff --git a/yaksh/grader.py b/yaksh/grader.py index 1d4e61e..a9a3738 100644 --- a/yaksh/grader.py +++ b/yaksh/grader.py @@ -156,7 +156,7 @@ class Grader(object): except TimeoutException: error.append(self.timeout_msg) except OSError: - msg = traceback.format_exc() + msg = traceback.format_exc(limit=0) error.append("Error: {0}".format(msg)) except Exception: exc_type, exc_value, exc_tb = sys.exc_info() -- cgit