From 5112db0a7ae539ef5309fa2ab337432573a7013c Mon Sep 17 00:00:00 2001 From: "gasperfele@fri1.uni-lj.si" Date: Wed, 14 Jan 2015 15:44:09 +0000 Subject: 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 --- kpov_judge/tasks/isc_dhcp_live_boot/task.py | 4 ++-- 1 file 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 -- cgit v1.2.1