summaryrefslogtreecommitdiff
path: root/testapp/code_server.py
diff options
context:
space:
mode:
authorprathamesh2014-05-12 15:13:33 +0530
committerprathamesh2014-05-12 15:13:33 +0530
commitfa1cdf5c8f92715f2b3866f0a17e2439d27557c5 (patch)
treec0020a1bbcc24d7ef7372e4ae53133dfc4b28523 /testapp/code_server.py
parent3244b69143adb3f86ca2bbdfbbc1b8a93489de29 (diff)
downloadonline_test-fa1cdf5c8f92715f2b3866f0a17e2439d27557c5.tar.gz
online_test-fa1cdf5c8f92715f2b3866f0a17e2439d27557c5.tar.bz2
online_test-fa1cdf5c8f92715f2b3866f0a17e2439d27557c5.zip
Files modified according to the pep8 coding standard.
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 == '':