delete leftover debug-prints

This commit is contained in:
Daniel Folkinshteyn 2010-04-02 00:51:06 -04:00 committed by Valentin Lorentz
parent 366c2b7c17
commit 50ac5a05e1

View File

@ -642,10 +642,7 @@ class Factoids(callbacks.Plugin, plugins.ChannelDBHandler):
sql = """SELECT keys.key FROM %s WHERE %s""" % \
(', '.join(tables), ' AND '.join(criteria))
sql = sql + " ORDER BY keys.key"
print sql
sql = sql.replace('TARGET', target)
print sql
print formats
cursor.execute(sql, formats)
if cursor.rowcount == 0:
irc.reply(_('No keys matched that query.'))