From: Jeremy Stanley Date: Sat, 24 Aug 2019 19:32:33 +0000 (+0000) Subject: Separate listening port in startup logging X-Git-Tag: 0.0.2~2 X-Git-Url: https://mudpy.org/gitweb?p=mudpy.git;a=commitdiff_plain;h=7cf99ffc8b6c2f69c6b13ec8c811c3327fd425e2;hp=29510b38c2b86e4be79d0186076ba14976d0c7ea 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. --- 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."""