From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lucas Meneghel Rodrigues Subject: Re: [KVM-AUTOTEST PATCH 1/8] kvm_config: Allow for "=" in the value of a config parameter Date: Mon, 08 Jun 2009 12:16:51 -0300 Message-ID: <1244474211.2849.57.camel@localhost.localdomain> References: <1244433717-3391-1-git-send-email-lmr@redhat.com> <1244433717-3391-2-git-send-email-lmr@redhat.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: David Huff To: kvm@vger.kernel.org Return-path: Received: from mx2.redhat.com ([66.187.237.31]:49963 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756169AbZFHPQx (ORCPT ); Mon, 8 Jun 2009 11:16:53 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n58FGt9M008433 for ; Mon, 8 Jun 2009 11:16:55 -0400 In-Reply-To: <1244433717-3391-2-git-send-email-lmr@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Mon, 2009-06-08 at 01:01 -0300, Lucas Meneghel Rodrigues wrote: > fix modifies kvm_config.split_and_strip so it will only split once per > line. Applied. > example: kernel_args = "ks=floppy console=ttyS0 noacpi" > > Signed-off-by: David Huff > --- > client/tests/kvm/kvm_config.py | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/client/tests/kvm/kvm_config.py b/client/tests/kvm/kvm_config.py > index 8b6ab15..40f16f1 100755 > --- a/client/tests/kvm/kvm_config.py > +++ b/client/tests/kvm/kvm_config.py > @@ -136,7 +136,7 @@ class config: > @param str: String that will be processed > @param sep: Separator that will be used to split the string > """ > - temp = str.split(sep) > + temp = str.split(sep, 1) > for i in range(len(temp)): > temp[i] = temp[i].strip() > temp[i] = temp[i].strip("\"\'") -- Lucas Meneghel Rodrigues Software Engineer (QE) Red Hat - Emerging Technologies