From Dan Kenigsberg <[email protected]>:

Dan Kenigsberg has uploaded a new change for review.

Change subject: pylint: panic.panic() accepts a single string arg
......................................................................

pylint: panic.panic() accepts a single string arg

Change-Id: I8bd971966705e3281b79ceba6704af573ea45d6c
Signed-off-by: Dan Kenigsberg <[email protected]>
---
M lib/vdsm/protocoldetector.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/40/69340/1

diff --git a/lib/vdsm/protocoldetector.py b/lib/vdsm/protocoldetector.py
index dfe5f57..5151d00 100644
--- a/lib/vdsm/protocoldetector.py
+++ b/lib/vdsm/protocoldetector.py
@@ -89,7 +89,7 @@
 
     def handle_close(self, dispatcher):
         # We cannot handle this, so the best way is to die loudly.
-        panic.panic("Listen socket was closed: %s", dispatcher.socket)
+        panic.panic("Listen socket was closed: %s" % dispatcher.socket)
 
 
 class _ProtocolDetector(object):


-- 
To view, visit https://gerrit.ovirt.org/69340
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8bd971966705e3281b79ceba6704af573ea45d6c
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Dan Kenigsberg <[email protected]>
_______________________________________________
vdsm-patches mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to