summaryrefslogtreecommitdiff
path: root/kpov_judge/tasks/isc_dhcp_live_boot
diff options
context:
space:
mode:
authorgasperfele@fri1.uni-lj.si <gasperfele@fri1.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414>2015-01-14 15:44:09 +0000
committergasperfele@fri1.uni-lj.si <gasperfele@fri1.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414>2015-01-14 15:44:09 +0000
commit5112db0a7ae539ef5309fa2ab337432573a7013c (patch)
treebbf60fe7b25c881beed4779f7ef69afabc6d105c /kpov_judge/tasks/isc_dhcp_live_boot
parent4eea296e6e63cb4671a7cc19f00cb85319899015 (diff)
fixed typos in task_check for isc_dhcp_live_boot
git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@191 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414
Diffstat (limited to 'kpov_judge/tasks/isc_dhcp_live_boot')
-rw-r--r--kpov_judge/tasks/isc_dhcp_live_boot/task.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kpov_judge/tasks/isc_dhcp_live_boot/task.py b/kpov_judge/tasks/isc_dhcp_live_boot/task.py
index 60616e5..6ff299a 100644
--- a/kpov_judge/tasks/isc_dhcp_live_boot/task.py
+++ b/kpov_judge/tasks/isc_dhcp_live_boot/task.py
@@ -160,8 +160,8 @@ def task_check(results, params):
#TASK4: SimpleArbaiter IP_B
if re.search(r'eth0 +802-.*connected', results['static_nmcli']):
score += 2
- if results['NoNameATM'].find('NoFormatATM'.format(params['NoNameAtm]))> -1:
- score +=2
+ if results['NoNameATM'].find('NoFormatATM'.format(params['NoNameAtm'])) > -1:
+ score +=2
#Same pattern for other tasks
return score