summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgasperfele@fri1.uni-lj.si <gasperfele@fri1.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414>2014-12-22 14:27:49 +0000
committergasperfele@fri1.uni-lj.si <gasperfele@fri1.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414>2014-12-22 14:27:49 +0000
commita90e988c336fe729833aed81471b5028c4110ac9 (patch)
tree7b731178694c80299ba35e790398fb312202d94e
parent20067274ac9a2682fb07cd45cd1fcc150f70f4cc (diff)
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
-rwxr-xr-xkpov_judge/test_task.py4
1 files changed, 2 insertions, 2 deletions
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)