summaryrefslogtreecommitdiff
path: root/kpov_judge/tasks/set_ip_dhcp_hostname
diff options
context:
space:
mode:
Diffstat (limited to 'kpov_judge/tasks/set_ip_dhcp_hostname')
-rw-r--r--kpov_judge/tasks/set_ip_dhcp_hostname/task.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/kpov_judge/tasks/set_ip_dhcp_hostname/task.py b/kpov_judge/tasks/set_ip_dhcp_hostname/task.py
index 16c689e..5cf5b54 100644
--- a/kpov_judge/tasks/set_ip_dhcp_hostname/task.py
+++ b/kpov_judge/tasks/set_ip_dhcp_hostname/task.py
@@ -92,9 +92,10 @@ def gen_params(user_id, params_meta):
def task_check(results, params):
import re
score = -9
+ hints = []
if results['bla']:
score += 3
- return score
+ return score, hints
def prepare_disks(templates, params):
# d = templates['simpleArbiterDhcp']