Changed some logging messages.

This commit is contained in:
Jeremy Fincher 2003-12-16 21:06:20 +00:00
parent 6df8eed142
commit fd01a22e84

View File

@ -94,16 +94,20 @@ def upkeep(): # Function to be run on occasion to do upkeep stuff.
def makeIrcsDie(): def makeIrcsDie():
"""Kills Ircs.""" """Kills Ircs."""
log.info('Assassinating the Irc object council.') log.info('Killing Irc objects.')
for irc in ircs[:]: for irc in ircs[:]:
irc.die() irc.die()
def startDying(): def startDying():
"""Starts dying.""" """Starts dying."""
log.info('Beginning that long, slow walk into the night.') log.info('Shutdown initiated.')
global dying global dying
dying = True dying = True
def finished():
log.info('Shutdown complete.')
atexit.register(finished)
atexit.register(upkeep) atexit.register(upkeep)
atexit.register(makeIrcsDie) atexit.register(makeIrcsDie)
atexit.register(startDying) atexit.register(startDying)