From a90e988c336fe729833aed81471b5028c4110ac9 Mon Sep 17 00:00:00 2001 From: "gasperfele@fri1.uni-lj.si" Date: Mon, 22 Dec 2014 14:27:49 +0000 Subject: Renamed a variable to make the error message when task() crashes easier to understand. git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@119 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414 --- kpov_judge/test_task.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kpov_judge') diff --git a/kpov_judge/test_task.py b/kpov_judge/test_task.py index c482a5d..4658304 100755 --- a/kpov_judge/test_task.py +++ b/kpov_judge/test_task.py @@ -198,13 +198,13 @@ if __name__ == '__main__': public_params[k] = task_params[k] params['task_params'][params['task_name']] = task_params try: - s = task(**public_params) + task_result = task(**public_params) # run task.task_check() except Exception, e: print("Error running task(...):") print(e) try: - result = task_check(s, task_params) + result = task_check(task_result, task_params) except Exception, e: print("Error running task_check(results, params):") print(e) -- cgit v1.2.1