modified: di_dialog.py
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user