From 92150265c82f3d1f6e4eb382447ae8e448cd406f Mon Sep 17 00:00:00 2001 From: ankitjavalkar Date: Wed, 13 May 2015 18:20:26 +0530 Subject: Fix import paths, formatting, views and minor errors - Submitted file path should be set after changing directory - Change timeout duration in java test case - Set shell=True in _compile_command - Fix errors in code as per tests --- testapp/exam/code_server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testapp/exam/code_server.py') diff --git a/testapp/exam/code_server.py b/testapp/exam/code_server.py index 580379f..1411ded 100755 --- a/testapp/exam/code_server.py +++ b/testapp/exam/code_server.py @@ -30,8 +30,8 @@ import subprocess import re import json # Local imports. -from settings import SERVER_PORTS, SERVER_TIMEOUT, SERVER_POOL_PORT -from language_registry import set_registry +from settings import SERVER_PORTS, SERVER_POOL_PORT +from language_registry import get_registry, set_registry MY_DIR = abspath(dirname(__file__)) -- cgit