summaryrefslogtreecommitdiff
path: root/kpov_judge/tasks/copy_rename_20_files_tail_env
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@fri.uni-lj.si>2018-10-13 19:16:45 +0200
committerTimotej Lazar <timotej.lazar@fri.uni-lj.si>2018-10-13 19:17:01 +0200
commit481fd30e6cc6fc242e9471ce08f676f4883a3e69 (patch)
tree044d47a305bc7cf40d78b97f3a764d745a564a17 /kpov_judge/tasks/copy_rename_20_files_tail_env
parente17416d594642c5e9eaf905f37cef10021071ab1 (diff)
Call write_default_config for arbiter in all KPOV 2018 tasks
Diffstat (limited to 'kpov_judge/tasks/copy_rename_20_files_tail_env')
-rw-r--r--kpov_judge/tasks/copy_rename_20_files_tail_env/task.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/kpov_judge/tasks/copy_rename_20_files_tail_env/task.py b/kpov_judge/tasks/copy_rename_20_files_tail_env/task.py
index b65161d..6a4b18a 100644
--- a/kpov_judge/tasks/copy_rename_20_files_tail_env/task.py
+++ b/kpov_judge/tasks/copy_rename_20_files_tail_env/task.py
@@ -290,11 +290,7 @@ def task_check(results, params):
return score, hints
def prepare_disks(templates, task_params, global_params):
-# d = templates['simpleArbiterDhcp']
import random
- #print "Haha!"
- #print params
- #print templates
d = templates['malishell']
r = random.Random(task_params['file_creator_random_seed'])
# rename
@@ -353,4 +349,5 @@ def prepare_disks(templates, task_params, global_params):
d.mkdir(task_params['wc_dirname'])
d.chown(1000, 1000, task_params['wc_dirname'])
d.write("{}".format(os.path.join(task_params['wc_dirname'], 'count.txt')), "".join(lx))
- #write_default_config(templates['simpleArbiterDhcpGW'], global_params)
+
+ write_default_config(templates['simpleArbiterDhcpGW'], global_params)