summaryrefslogtreecommitdiff
path: root/testapp/code_server.py
diff options
context:
space:
mode:
authorprathamesh2014-06-05 11:54:08 +0530
committerprathamesh2014-06-05 11:54:08 +0530
commit32e019a07de1f9e819e9c1531c50166289c76cb9 (patch)
treeab43c59e35b2250bb5c4caa8f306d19fadbfe706 /testapp/code_server.py
parent3d0b69caf6b94a1afe95fef2787929c14afdb485 (diff)
parentfa1cdf5c8f92715f2b3866f0a17e2439d27557c5 (diff)
downloadonline_test-32e019a07de1f9e819e9c1531c50166289c76cb9.tar.gz
online_test-32e019a07de1f9e819e9c1531c50166289c76cb9.tar.bz2
online_test-32e019a07de1f9e819e9c1531c50166289c76cb9.zip
Merge branch 'deploy_server'
Diffstat (limited to 'testapp/code_server.py')
-rwxr-xr-xtestapp/code_server.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/testapp/code_server.py b/testapp/code_server.py
index 8b3f8f1..88e374c 100755
--- a/testapp/code_server.py
+++ b/testapp/code_server.py
@@ -370,7 +370,6 @@ class CodeServer(object):
raise
return proc_compile, err
-
def _check_c_cpp_code(self, ref_code_path, submit_code_path):
""" Function validates student code using instructor code as
reference.The first argument ref_code_path, is the path to
@@ -608,7 +607,7 @@ class CodeServer(object):
student_directory,
student_directory)
ret = self._compile_command(compile_main)
- proc, main_err = ret
+ proc, main_err = ret
main_err = self._remove_null_substitute_char(main_err)
if main_err == '':