summaryrefslogtreecommitdiff
path: root/kpov_judge/tasks/smb_nfs
diff options
context:
space:
mode:
Diffstat (limited to 'kpov_judge/tasks/smb_nfs')
-rw-r--r--kpov_judge/tasks/smb_nfs/task.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/kpov_judge/tasks/smb_nfs/task.py b/kpov_judge/tasks/smb_nfs/task.py
index 6da7c88..6623248 100644
--- a/kpov_judge/tasks/smb_nfs/task.py
+++ b/kpov_judge/tasks/smb_nfs/task.py
@@ -111,6 +111,7 @@ def gen_params(user_id, params_meta):
def task_check(results, params):
score = 0
+ hints = []
r = random.Random(params['SHARED_FILE_SEED'])
testfile = kpov_random_helpers.fname_gen(r)
teststring = kpov_random_helpers.alnum_gen(r, 200)
@@ -132,7 +133,7 @@ def task_check(results, params):
filels = set(results['filels'].split())
if "".join(filels - filels_later).find(testfile) >= 0:
score += 2
- return score
+ return score, hints
def prepare_disks(templates, params):
d = templates['FileServer']