Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

oem: fix IndexError when using OEMController.wants_oem_kernel #1767

Merged
merged 1 commit into from
Aug 18, 2023

Commits on Aug 18, 2023

  1. oem: fix IndexError when using OEMController.wants_oem_kernel

      Traceback (most recent call last):
        File "subiquity/server/controllers/oem.py", line 161, in load_metapackages_list
          self.model.metapackages = [
        File "subiquity/server/controllers/oem.py", line 164, in <listcomp>
          wants_oem_kernel=await self.wants_oem_kernel(
        File "subiquity/server/controllers/oem.py", line 115, in wants_oem_kernel
          flavor = line.split("=", maxsplit=1)[1].strip()
      IndexError: list index out of range
    
    Signed-off-by: Olivier Gayot <[email protected]>
    ogayot committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    bf42341 View commit details
    Browse the repository at this point in the history