Signed-off-by: Fabiano FidĂȘncio <fidencio(a)redhat.com>
---
examples/event-test.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/examples/event-test.py b/examples/event-test.py
index 1f7d97e..e1e8435 100644
--- a/examples/event-test.py
+++ b/examples/event-test.py
@@ -5,7 +5,7 @@ import libvirt
import getopt
import sys
-from gi.repository import LibvirtGLib;
+from gi.repository import LibvirtGLib
def eventToString(event):
eventStrings = ( "Added",
@@ -15,8 +15,8 @@ def eventToString(event):
"Resumed",
"Stopped",
"Saved",
- "Restored" );
- return eventStrings[event];
+ "Restored" )
+ return eventStrings[event]
def myDomainEventCallback1 (conn, dom, event, detail, opaque):
print "myDomainEventCallback1 EVENT: Domain %s(%s) %s" % (dom.name(),
dom.ID(), eventToString(event))
--
2.21.0