less spam from the messenger on the AI logs

This commit is contained in:
Joe Shochet 2007-02-12 00:48:24 +00:00
parent d5c8b6f490
commit bd2c0c7b14

View File

@ -66,7 +66,7 @@ class Messenger:
# Make sure we are not inadvertently overwriting an existing event # Make sure we are not inadvertently overwriting an existing event
# on this particular object. # on this particular object.
if __debug__: if Messenger.notify.getDebug():
if acceptorDict.has_key(object): if acceptorDict.has_key(object):
oldMethod = acceptorDict[object][0] oldMethod = acceptorDict[object][0]
if oldMethod == method: if oldMethod == method: