address review comments

This commit is contained in:
Michael Hudson-Doyle 2020-09-03 12:31:25 +12:00
parent edc65dbbfb
commit f32c74c86d
2 changed files with 1 additions and 4 deletions

View File

@ -93,9 +93,7 @@ class SubiquityTuiController(SubiquityController, TuiController):
return True
i_sections = self.app.autoinstall_config.get(
'interactive-sections', [])
if '*' in i_sections or self.autoinstall_key in i_sections:
return True
return False
return '*' in i_sections or self.autoinstall_key in i_sections
class RepeatedController(RepeatedController):

View File

@ -76,7 +76,6 @@ class TuiController(BaseController):
field.widget._emit('select', v)
field.value = v
yield
yield
for bf in form._fields:
bf.validate()
form.validated()