From 595a37f0e0d712b43ee9d82348aa11c2cdda559c Mon Sep 17 00:00:00 2001 From: Ryan Hitchman Date: Mon, 1 Feb 2010 00:30:51 -0700 Subject: [PATCH] remove debug printing from a few plugins --- plugins/quote.py | 1 - plugins/sieve.py | 1 - plugins/twitter.py | 1 - 3 files changed, 3 deletions(-) diff --git a/plugins/quote.py b/plugins/quote.py index 2fbf09c..924c951 100644 --- a/plugins/quote.py +++ b/plugins/quote.py @@ -8,7 +8,6 @@ from util import hook def add_quote(conn, chan, nick, add_nick, msg): now = time.time() - print repr((conn, add_nick, nick, msg, time)) conn.execute('''insert or fail into quotes (chan, nick, add_nick, msg, time) values(?,?,?,?,?)''', (chan, nick, add_nick, msg, now)) diff --git a/plugins/sieve.py b/plugins/sieve.py index 4fa147e..fc97d10 100644 --- a/plugins/sieve.py +++ b/plugins/sieve.py @@ -29,7 +29,6 @@ def sieve_suite(bot, input, func, args): acl = bot.config.get('acls', {}).get(func.__name__) if acl: - print acl if 'deny-except' in acl: allowed_channels = map(str.lower, acl['deny-except']) if input.chan.lower() not in allowed_channels: diff --git a/plugins/twitter.py b/plugins/twitter.py index 239fc0f..9338f38 100644 --- a/plugins/twitter.py +++ b/plugins/twitter.py @@ -112,7 +112,6 @@ def twitter(inp): return 'error: hashtag not found' id = random.choice(tweets).text id = id[id.rfind(':') + 1:] - print id return twitter(id) if getting_nth: