src/callbacks.py: Update a debug statement so it prints the proper method name.

This commit is contained in:
James Vega 2006-05-01 17:08:44 +00:00
parent 67697d8245
commit 48120bfdd2
1 changed files with 1 additions and 1 deletions

View File

@ -703,7 +703,7 @@ class NestedCommandsIrcProxy(ReplyIrcProxy):
assert utils.iter.startswith(L, args), \
'getCommand must return a prefix of the args given. ' \
'(args given: %r, returned: %r)' % (args, L)
log.debug('findCallbacksForCommands: %r', cbs)
log.debug('findCallbacksForArgs: %r', cbs)
cbs = [cb for (cb, L) in cbs if L == maxL]
if len(maxL) == 1:
# Special case: one arg determines the callback. In this case, we