summaryrefslogtreecommitdiff
path: root/yaksh/grader.py
diff options
context:
space:
mode:
authormaheshgudi2017-01-06 14:43:06 +0530
committermaheshgudi2017-01-09 18:10:30 +0530
commit6b8f8f53d7110e27bc44f0d50b8b3155155932f6 (patch)
treea40ab519998f1b68c11da2d6964889e9f2485019 /yaksh/grader.py
parentec5cb67b3314d05675c501cd78ce92d02ae8fde4 (diff)
downloadonline_test-6b8f8f53d7110e27bc44f0d50b8b3155155932f6.tar.gz
online_test-6b8f8f53d7110e27bc44f0d50b8b3155155932f6.tar.bz2
online_test-6b8f8f53d7110e27bc44f0d50b8b3155155932f6.zip
added hook evaluator type tuple in forms and fixed limit=0 mistake in grader
Diffstat (limited to 'yaksh/grader.py')
-rw-r--r--yaksh/grader.py2
1 files changed, 1 insertions, 1 deletions
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()