Neater log message.

This commit is contained in:
Jeremy Fincher 2004-08-25 04:09:29 +00:00
parent 9f1dd19ff7
commit 53d3279efc

View File

@ -152,7 +152,9 @@ class Log(object):
e = utils.exnToString(e) e = utils.exnToString(e)
self.warning('Disconnect from %s: %s.', server, e) self.warning('Disconnect from %s: %s.', server, e)
else: else:
self.info('Disconnect from %s.', server) if not server.endswith('.'):
server += '.'
self.info('Disconnect from %s', server)
def reconnect(self, network, when=None): def reconnect(self, network, when=None):
s = 'Reconnecting to %s' % network s = 'Reconnecting to %s' % network