]> xenbits.xensource.com Git - libvirt.git/commit
examples: Fix event detail printing in python test
authorJiri Denemark <jdenemar@redhat.com>
Thu, 6 Sep 2012 15:02:47 +0000 (17:02 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Fri, 7 Sep 2012 07:38:22 +0000 (09:38 +0200)
commite2a7f97b2b1cee9d0dd628ac03a30a33041a98bb
tree074ff37c697d9ec658ed5ee1f78eb4d8a0f9122e
parentfc4115e8d693635d5569e01b432a9cde03341f0c
examples: Fix event detail printing in python test

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 desired

    myDomainEventCallback1 EVENT: Domain fedora17(12) Shutdown Finished
examples/domain-events/events-python/event-test.py