Skip to content

Commit

Permalink
Fix whitespace issues
Browse files Browse the repository at this point in the history
  • Loading branch information
KaliumPuceon authored Oct 30, 2023
1 parent 6da873b commit fbbd4d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kiwi/bootloader/config/grub2.py
Original file line number Diff line number Diff line change
Expand Up @@ -1465,7 +1465,7 @@ def _fix_grub_loader_entries_linux_and_initrd_paths(self):
if bool(re.match(r'^(linux|initrd) .*', menu_entry_line)):

log.debug("Existing loader entry: %s", menu_entry_line)
config_path = menu_entry_line.split(" ",1)[0]
config_path = menu_entry_line.split(" ", 1)[0]

basename = os.path.basename(menu_entry_line)
if self.bootpartition:
Expand All @@ -1479,7 +1479,7 @@ def _fix_grub_loader_entries_linux_and_initrd_paths(self):
menu_entry = "\n".join(menu_entry)
with open(menu_entry_file, 'w') as grub_menu_entry_file:
grub_menu_entry_file.write(menu_entry)

def _get_partition_start(self, disk_device):
if self.target_table_type == 'dasd':
blocks = self._get_dasd_disk_geometry_element(
Expand Down

0 comments on commit fbbd4d4

Please sign in to comment.