Antoni Segura Puimedon has uploaded a new change for review.

Change subject: sourceroutethread: fix logging string formatting
......................................................................

sourceroutethread: fix logging string formatting

Change-Id: I8bc377bacd259fa914cac6fe25424d4fa1c79ef7
Signed-off-by: Antoni S. Puimedon <[email protected]>
---
M vdsm/network/sourceroutethread.py
1 file changed, 2 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/10/30010/1

diff --git a/vdsm/network/sourceroutethread.py 
b/vdsm/network/sourceroutethread.py
index c2f14e6..8ac530e 100644
--- a/vdsm/network/sourceroutethread.py
+++ b/vdsm/network/sourceroutethread.py
@@ -35,8 +35,7 @@
 
 class DHClientEventHandler(pyinotify.ProcessEvent):
     def process_IN_CLOSE_WRITE_filePath(self, sourceRouteFilePath):
-        logging.debug("Responding to DHCP response in %s" %
-                      sourceRouteFilePath)
+        logging.debug("Responding to DHCP response in %s", sourceRouteFilePath)
         with open(sourceRouteFilePath, 'r') as sourceRouteFile:
             sourceRouteContents = sourceRouteFile.read().split()
             action = sourceRouteContents[0]
@@ -52,7 +51,7 @@
                 else:
                     sourceRoute.remove()
             else:
-                logging.info("interface %s is not a libvirt interface" %
+                logging.info("interface %s is not a libvirt interface",
                              sourceRoute.device)
 
             DynamicSourceRoute.removeInterfaceTracking(device)


-- 
To view, visit http://gerrit.ovirt.org/30010
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8bc377bacd259fa914cac6fe25424d4fa1c79ef7
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Antoni Segura Puimedon <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to