From 4723481da61fea54afc17e144a2bc6ff4145ebba Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Sun, 18 Aug 2013 23:19:25 +0200 Subject: [PATCH] spelling fix --- lib/services/tcpconnect.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/services/tcpconnect.py b/lib/services/tcpconnect.py index 4a329c3..0d8da3d 100644 --- a/lib/services/tcpconnect.py +++ b/lib/services/tcpconnect.py @@ -27,20 +27,20 @@ class TcpconnectService(Service): sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) except socket.error, msg: jobInfo.set_errorcode(1) - jobInfo.set_message("Could not create socket to host: " + jobInfo.get_host() + " to port: " + + jobInfo.set_message("Could not create socket to host: " + jobInfo.get_host() + " on port: " + str(self.port) + " (" + str(msg) + ")") try: sock.connect((jobInfo.get_host(), self.port)) except socket.error, msg: jobInfo.set_errorcode(2) - jobInfo.set_message("Could not establish connection to host: " + jobInfo.get_host() + " to port: " + + jobInfo.set_message("Could not establish connection to host: " + jobInfo.get_host() + " on port: " + str(self.port) + " (" + str(msg) + ")") if jobInfo.get_errorcode() == -1: jobInfo.set_execution_successful(True) jobInfo.set_errorcode(0) - jobInfo.set_message("Connection successful established to host: " + jobInfo.get_host() + " to port: " + + jobInfo.set_message("Connection successful established to host: " + jobInfo.get_host() + " on port: " + str(self.port)) sock.close()