From 65f8f0f4dd867c1d1647712560e3aef73b8c921f Mon Sep 17 00:00:00 2001 From: Mahesh Gudi Date: Thu, 29 Dec 2016 18:00:28 +0530 Subject: Python hook evaluator --- yaksh/grader.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'yaksh/grader.py') diff --git a/yaksh/grader.py b/yaksh/grader.py index 086abb7..1d4e61e 100644 --- a/yaksh/grader.py +++ b/yaksh/grader.py @@ -120,7 +120,6 @@ class Grader(object): for test_case in test_case_data: test_case_instance = create_evaluator_instance(metadata, test_case) test_case_instances.append(test_case_instance) - return test_case_instances @@ -157,7 +156,7 @@ class Grader(object): except TimeoutException: error.append(self.timeout_msg) except OSError: - msg = traceback.format_exc(limit=0) + msg = traceback.format_exc() error.append("Error: {0}".format(msg)) except Exception: exc_type, exc_value, exc_tb = sys.exc_info() -- cgit