Fix --grub and --syslinux handling
authorMichael Prokop <mika@grml.org>
Fri, 22 Jan 2021 09:20:41 +0000 (10:20 +0100)
committerMichael Prokop <mika@grml.org>
Fri, 22 Jan 2021 09:20:41 +0000 (10:20 +0100)
commit01ed11d39312404c265da1a53938c921ce03c4f9
treeef4a2f24998845e9a32a8eefba0c093d04d91fbc
parenta0f5a4e00741da298835127ad333744f0f7ee73a
Fix --grub and --syslinux handling

With commit 3664e4ae we removed an argument from the grub_option()
and syslinux_warning() callback functions, which was reported as
false positives by vulture tool.

Fixes regression from 3664e4ae, failing grml2usb execution with --grub
(and deprecated --syslinux) command line option with:

| TypeError: grub_option() takes 3 positional arguments but 4 were given

Thanks: Ralf Moll for the bugreport
grml2usb