Commented out some debug.printfs.

This commit is contained in:
Jeremy Fincher 2003-08-25 20:13:20 +00:00
parent 5eafec7121
commit 075af0967c

View File

@ -262,7 +262,7 @@ class Http(callbacks.Privmsg):
url = 'http://www.hamweather.net/cgi-bin/hw3/hw3.cgi?'\ url = 'http://www.hamweather.net/cgi-bin/hw3/hw3.cgi?'\
'config=&forecast=zandh&pands=%s&Submit=GO' % args[0] 'config=&forecast=zandh&pands=%s&Submit=GO' % args[0]
debug.printf(url) #debug.printf(url)
try: try:
fd = urllib2.urlopen(url) fd = urllib2.urlopen(url)
html = fd.read() html = fd.read()
@ -337,7 +337,7 @@ class Http(callbacks.Privmsg):
fd.close() fd.close()
# The following definitions are stripped and empties are removed. # The following definitions are stripped and empties are removed.
defs = filter(None, map(str.strip, self._acronymre.findall(html))) defs = filter(None, map(str.strip, self._acronymre.findall(html)))
debug.printf(defs) #debug.printf(defs)
if len(defs) == 0: if len(defs) == 0:
irc.reply(msg, 'No definitions found.') irc.reply(msg, 'No definitions found.')
else: else: