From 7cf99ffc8b6c2f69c6b13ec8c811c3327fd425e2 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Sat, 24 Aug 2019 19:32:33 +0000 Subject: [PATCH] Separate listening port in startup logging Using a port separator of ":" is vague in combination with IPv6 addresses, so separate the listening port number more clearly in the startup log message. --- mudpy/misc.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/mudpy/misc.py b/mudpy/misc.py index 63e4df4..1b2be37 100644 --- a/mudpy/misc.py +++ b/mudpy/misc.py @@ -457,10 +457,8 @@ class Universe: self.listening_socket.listen(1) # note that we're now ready for user connections - log( - "Listening for Telnet connections on: " + - host + ":" + str(port) - ) + log("Listening for Telnet connections on %s port %s" % ( + host, str(port))) def get_time(self): """Convenience method to get the elapsed time counter.""" -- 2.11.0