On Nov 17, 2:54 pm, [EMAIL PROTECTED] (Cameron Laird) wrote:
> In article <[EMAIL PROTECTED]>,
> Tim Chase <[EMAIL PROTECTED]> wrote:
> .
> .
> .>To the OP, I think rather than cluttering my code,
> I'd just
> >create a loop
On Nov 17, 12:56 pm, Albert Hopkins <[EMAIL PROTECTED]> wrote:
> On Mon, 2008-11-17 at 10:27 -0800, CarlFK wrote:
> > I need some code that will read in grubs menu.lst file, and give me a
> > list of dicts:
>
> > [{'title':'Ubuntu, kernel 2.6.15-23-68
I need some code that will read in grubs menu.lst file, and give me a
list of dicts:
[{'title':'Ubuntu, kernel 2.6.15-23-686',
'root':'(hd0,0)',
'kernel':'/boot/vmlinuz-2.6.15-23-686 root=/dev/hda1 ro quiet splash',
'initrd':'/boot/initrd.img-2.6.15-23-686',
'savedefault':'',
'boot':''},
{'title':