From: Yolkfull Chow <yzhou@redhat.com>
To: Lucas Meneghel Rodrigues <lmr@redhat.com>
Cc: kvm@vger.kernel.org, autotest@test.kernel.org
Subject: Re: [Autotest] [PATCH] Fix a bug in function create in kvm_vm
Date: Sat, 10 Oct 2009 16:48:25 +0800 [thread overview]
Message-ID: <20091010084825.GE2487@aFu.nay.redhat.com> (raw)
In-Reply-To: <20091010082445.GD2487@aFu.nay.redhat.com>
On Sat, Oct 10, 2009 at 04:24:45PM +0800, Yolkfull Chow wrote:
> On Mon, Oct 05, 2009 at 04:03:22PM -0300, Lucas Meneghel Rodrigues wrote:
> > Hi Yolkfull! I've checked your patch, but it turns out that the comma
> > is valid syntax for the logging module. By any chance you actually had
> > an error with it?
>
> Hi Lucas,
> I just checked, yes it's valid syntax for this module. Before this I met
> a traceback during running autotest and it indicated this line
> around,thus I doubt about this by mistake. Sorry for confusing. ;-)
>
> But I found for the variables in logging.debug(),sometimes it use comma
> to format while sometimes '%' which will drop code readability.
Another reason is if someone who still using kvm_log want to backport
codes from this tree, not only need he replace all 'logging' with
'kvm_log' but also need change these comma syntax. ;-)
>
> Anyway, thanks for checking.
>
> >
> > On Mon, Sep 28, 2009 at 4:45 AM, Yolkfull Chow <yzhou@redhat.com> wrote:
> > >
> > > Signed-off-by: Yolkfull Chow <yzhou@redhat.com>
> > > ---
> > > client/tests/kvm/kvm_vm.py | 2 +-
> > > 1 files changed, 1 insertions(+), 1 deletions(-)
> > >
> > > diff --git a/client/tests/kvm/kvm_vm.py b/client/tests/kvm/kvm_vm.py
> > > index 55220f9..8aeffff 100755
> > > --- a/client/tests/kvm/kvm_vm.py
> > > +++ b/client/tests/kvm/kvm_vm.py
> > > @@ -406,7 +406,7 @@ class VM:
> > > self.process.get_output()))
> > > return False
> > >
> > > - logging.debug("VM appears to be alive with PID %d",
> > > + logging.debug("VM appears to be alive with PID %d" %
> > > self.process.get_pid())
> > > return True
> > >
> > > --
> > > 1.6.2.5
> > >
> > > _______________________________________________
> > > Autotest mailing list
> > > Autotest@test.kernel.org
> > > http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
> > >
> >
> >
> >
> > --
> > Lucas
> > --
> > To unsubscribe from this list: send the line "unsubscribe kvm" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2009-10-10 8:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-28 7:45 [PATCH] Fix a bug in function create in kvm_vm Yolkfull Chow
2009-10-05 19:03 ` [Autotest] " Lucas Meneghel Rodrigues
2009-10-10 8:24 ` Yolkfull Chow
2009-10-10 8:48 ` Yolkfull Chow [this message]
2009-10-11 23:53 ` Lucas Meneghel Rodrigues
2009-10-12 6:58 ` Yolkfull Chow
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091010084825.GE2487@aFu.nay.redhat.com \
--to=yzhou@redhat.com \
--cc=autotest@test.kernel.org \
--cc=kvm@vger.kernel.org \
--cc=lmr@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox