mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-23 18:44:04 +01:00
delete leftover debug-prints
This commit is contained in:
parent
366c2b7c17
commit
50ac5a05e1
@ -642,10 +642,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)
|
||||||
if cursor.rowcount == 0:
|
if cursor.rowcount == 0:
|
||||||
irc.reply(_('No keys matched that query.'))
|
irc.reply(_('No keys matched that query.'))
|
||||||
|
Loading…
Reference in New Issue
Block a user