From: Ian Campbell Subject: Re: [PATCH] pygrub: Fix command line argument error handling Date: Mon, 12 Nov 2012 17:03:47 +0000 Message-ID: <1352739827.27833.307.camel@zakaz.uk.xensource.com> References: <1352701985-3696-1-git-send-email-mattjd@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1352701985-3696-1-git-send-email-mattjd@gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Matthew Daley Cc: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Mon, 2012-11-12 at 06:33 +0000, Matthew Daley wrote: > pygrub's individual config file parsers do not correctly check the > amount of command line arguments given to them. In addition, the LILO > config parser would report an incorrect message. > > Use len() to correctly check the amount of arguments, and fix the LILO > error message. > > Signed-off-by: Matthew Daley Acked-by: Ian Campbell and applied, thanks.