[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] pygrub: extlinux parsing correctness

Roger Pau Monne writes ("[Xen-devel] [PATCH] pygrub: extlinux parsing 
> pygrub: extlinux parsing correctness
> The "in" operator should be used instead of the find method, since
> we are only interested in knowing whether the line contains "initrd=",
> but we don't care about it's position. Also fixes an error that
> happens when initrd= it's at the start of the line, since find returns
> 0 and is evaluated as False.
> Signed-off-by: Roger Pau Monne <roger.pau@xxxxxxxxxxxxx>

Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.