delete leftover debug-prints

This commit is contained in:
Daniel Folkinshteyn 2010-04-02 00:51:06 -04:00
parent 203308647b
commit a3f7adaa8c

View File

@ -630,10 +630,7 @@ class Factoids(callbacks.Plugin, plugins.ChannelDBHandler):
sql = """SELECT keys.key FROM %s WHERE %s""" % \ sql = """SELECT keys.key FROM %s WHERE %s""" % \
(', '.join(tables), ' AND '.join(criteria)) (', '.join(tables), ' AND '.join(criteria))
sql = sql + " ORDER BY keys.key" sql = sql + " ORDER BY keys.key"
print sql
sql = sql.replace('TARGET', target) sql = sql.replace('TARGET', target)
print sql
print formats
cursor.execute(sql, formats) cursor.execute(sql, formats)
results = cursor.fetchall() results = cursor.fetchall()
if len(results) == 0: if len(results) == 0: