Remove unneeded None annotation from Bootloader.get_default (#3680)
This commit is contained in:
parent
5355c7141a
commit
b77a43b201
|
|
@ -31,7 +31,7 @@ class Bootloader(Enum):
|
||||||
return [e.value for e in Bootloader if e != Bootloader.NO_BOOTLOADER or arch_config_handler.args.skip_boot is True]
|
return [e.value for e in Bootloader if e != Bootloader.NO_BOOTLOADER or arch_config_handler.args.skip_boot is True]
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def get_default(cls) -> None | Bootloader:
|
def get_default(cls) -> Bootloader:
|
||||||
from ..args import arch_config_handler
|
from ..args import arch_config_handler
|
||||||
|
|
||||||
if arch_config_handler.args.skip_boot:
|
if arch_config_handler.args.skip_boot:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue