PEP and Unused Import

This commit is contained in:
Gormogon 2015-06-14 08:22:35 -04:00
parent bc66502fda
commit 9f8a8f6a64
3 changed files with 4 additions and 5 deletions

View file

@ -215,7 +215,7 @@ def prepare_bootloader(fw_type):
boot_p = boot_device[-1:]
device = boot_device[:-1]
if (not boot_p or not device):
if not boot_p or not device:
return ("EFI directory \"{!s}\" not found!",
"Boot partition: \"{!s}\"",
"Boot device: \"{!s}\"".format(efi_directory, boot_p, device))