https://bugzilla.novell.com/show_bug.cgi?id=782835 https://bugzilla.novell.com/show_bug.cgi?id=782835#c21 --- Comment #21 from Olaf Hering <ohering@suse.com> 2012-10-08 19:10:17 CEST --- Created an attachment (id=508563) --> (http://bugzilla.novell.com/attachment.cgi?id=508563) pygrub-args.patch The bug is a wrong assignment. I'm not sure where 'args' was coming from, but it should have been 'arg'. Rename the local variable and correct assignment. diff -r 0e999fae8b14 pygrub --- pygrub +++ pygrub @@ -585,7 +585,7 @@ def get_entry_idx(cf, entry): return None -def run_grub(file, entry, fs, arg): +def run_grub(file, entry, fs, cfg_args): global g global sel @@ -622,8 +622,8 @@ def run_grub(file, entry, fs, arg): grubcfg["ramdisk"] = img.initrd[1] if img.args: grubcfg["args"] += img.args - if arg: - grubcfg["args"] += " " + args + if cfg_args: + grubcfg["args"] += " " + cfg_args return grubcfg -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.