Re: [libvirt] [PATCH 4/4] examples: Fix event detail printing in python test

2012-09-07 Thread Jiri Denemark
On Thu, Sep 06, 2012 at 17:50:25 -0600, Eric Blake wrote: On 09/06/2012 05:31 PM, Doug Goldstein wrote: On Thu, Sep 6, 2012 at 10:09 AM, Jiri Denemark jdene...@redhat.com wrote: If there is only one detail string for a particular event, we need to pu s/pu/put a/ Oh my and I just pushed

Re: [libvirt] [PATCH 4/4] examples: Fix event detail printing in python test

2012-09-07 Thread Doug Goldstein
On Fri, Sep 7, 2012 at 3:26 AM, Jiri Denemark jdene...@redhat.com wrote: On Thu, Sep 06, 2012 at 17:50:25 -0600, Eric Blake wrote: On 09/06/2012 05:31 PM, Doug Goldstein wrote: On Thu, Sep 6, 2012 at 10:09 AM, Jiri Denemark jdene...@redhat.com wrote: If there is only one detail string for a

[libvirt] [PATCH 4/4] examples: Fix event detail printing in python test

2012-09-06 Thread Jiri Denemark
If there is only one detail string for a particular event, we need to pu comma after the string otherwise the string itself will be taken as a list and only its first character will be printed out. For example, myDomainEventCallback1 EVENT: Domain fedora17(12) Shutdown F instead of the

Re: [libvirt] [PATCH 4/4] examples: Fix event detail printing in python test

2012-09-06 Thread Doug Goldstein
On Thu, Sep 6, 2012 at 10:09 AM, Jiri Denemark jdene...@redhat.com wrote: If there is only one detail string for a particular event, we need to pu comma after the string otherwise the string itself will be taken as a list and only its first character will be printed out. For example,

Re: [libvirt] [PATCH 4/4] examples: Fix event detail printing in python test

2012-09-06 Thread Eric Blake
On 09/06/2012 05:31 PM, Doug Goldstein wrote: On Thu, Sep 6, 2012 at 10:09 AM, Jiri Denemark jdene...@redhat.com wrote: If there is only one detail string for a particular event, we need to pu s/pu/put a/ comma after the string otherwise the string itself will be taken as a list and only its