mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 04:32:36 +01:00
src/callbacks.py: Update a debug statement so it prints the proper method name.
This commit is contained in:
parent
67697d8245
commit
48120bfdd2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user