[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH] Cosmetics: Remove semicolons



It's Python, not C
---
 python/libvirt-override.py |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/python/libvirt-override.py b/python/libvirt-override.py
index 8427eab..82d7dcb 100644
--- a/python/libvirt-override.py
+++ b/python/libvirt-override.py
@@ -107,9 +107,9 @@ def getVersion (name = None):
 
     Versions numbers are integers: 1000000*major + 1000*minor + release."""
     if name is None:
-        ret = libvirtmod.virGetVersion ();
+        ret = libvirtmod.virGetVersion ()
     else:
-        ret = libvirtmod.virGetVersion (name);
+        ret = libvirtmod.virGetVersion (name)
     if ret is None: raise libvirtError ("virGetVersion() failed")
     return ret
 
@@ -132,7 +132,7 @@ def _eventInvokeHandleCallback(watch, fd, event, opaque, opaquecompat=None):
         callback = opaque[0]
         opaque = opaque[1]
 
-    libvirtmod.virEventInvokeHandleCallback(watch, fd, event, callback, opaque);
+    libvirtmod.virEventInvokeHandleCallback(watch, fd, event, callback, opaque)
 
 #
 # Invoke an EventTimeout callback
@@ -152,7 +152,7 @@ def _eventInvokeTimeoutCallback(timer, opaque, opaquecompat=None):
         callback = opaque[0]
         opaque = opaque[1]
 
-    libvirtmod.virEventInvokeTimeoutCallback(timer, callback, opaque);
+    libvirtmod.virEventInvokeTimeoutCallback(timer, callback, opaque)
 
 def _dispatchEventHandleCallback(watch, fd, events, cbData):
     cb = cbData["cb"]
-- 
1.7.10.4


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]