small cleanups

This commit is contained in:
James Vega 2004-07-24 05:09:22 +00:00
parent db111b7a1b
commit b2dbbe9ef5
2 changed files with 2 additions and 2 deletions

View File

@ -254,7 +254,8 @@ class Http(callbacks.Privmsg):
s = ', or '.join(defs)
irc.reply('%s could be %s' % (acronym, s))
_netcraftre = re.compile(r'td align="left">\s+<a[^>]+>(.*?)<a href', re.S)
_netcraftre = re.compile(r'td align="left">\s+<a[^>]+>(.*?)<a href',
re.S | re.I)
def netcraft(self, irc, msg, args):
"""<hostname|ip>

View File

@ -251,7 +251,6 @@ class Owner(privmsgs.CapabilityCheckingPrivmsg):
ambiguous commands, mapping the command to the plugins it's
available in."""
if ambiguousCommands is None:
print '***', tokens
ambiguousCommands = {}
if tokens:
command = callbacks.canonicalName(tokens[0])