From 311ad1dbca824e81c22d91e57221a742c36e4228 Mon Sep 17 00:00:00 2001 From: fling Date: Thu, 1 Sep 2011 13:58:57 +0800 Subject: [PATCH] modified: di_dialog.py --- dialog/di_dialog.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dialog/di_dialog.py b/dialog/di_dialog.py index 11b9cc0..1f2a028 100644 --- a/dialog/di_dialog.py +++ b/dialog/di_dialog.py @@ -205,7 +205,7 @@ class Group(Dialog): list.append((l[0],'',l[1] == 'yes' and 'on' or 'off')) s,check_list=Dialog.dialog.checklist(text='Plase select the installation package',height=self.height, - width=self.width,list_height=len(list),choices=list,title='choices %s optional'%g) + width=self.width,choices=list,title='choices %s optional'%g) if s == 0 and check_list : if check_list[0] == 'check all': @@ -246,7 +246,6 @@ class Group(Dialog): count = count - 1 if count < 0 or count > len(check_list) - 1: - print count break return s class Service(Dialog):