mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Ooops. left in some debugging print statements.
This commit is contained in:
parent
b627d23898
commit
3740c74aa9
@ -287,8 +287,6 @@ def getNick(irc, msg, args):
|
||||
def getChannel(irc, msg, args, cap=None):
|
||||
if ircutils.isChannel(args[0]):
|
||||
channel = args.pop(0)
|
||||
print '*** channel? %s' % channel
|
||||
print '*** args? %s' % args
|
||||
elif ircutils.isChannel(msg.args[0]):
|
||||
channel = msg.args[0]
|
||||
else:
|
||||
@ -406,13 +404,11 @@ def args(irc,msg,args, required=[], optional=[], getopts=None, noExtra=False):
|
||||
callConverter(converterName)
|
||||
except IndexError:
|
||||
if req:
|
||||
print '*** commands.args IndexError'
|
||||
raise callbacks.ArgumentError
|
||||
while opt:
|
||||
del opt[-1]
|
||||
starArgs.append('')
|
||||
if noExtra and args:
|
||||
print '*** commands.args noExtra and args'
|
||||
raise callbacks.ArgumentError
|
||||
return starArgs
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user