Style updates.

This commit is contained in:
Jeremy Fincher 2004-08-19 12:16:52 +00:00
parent e11ced5f00
commit 4348b41178

View File

@ -234,7 +234,7 @@ class Quotes(callbacks.Privmsg):
irc.reply('More than 10 quotes matched your criteria. ' irc.reply('More than 10 quotes matched your criteria. '
'Please narrow your query.') 'Please narrow your query.')
else: else:
quotes = ['#%s: "%s"' % (q.id, utils.ellipsisify(q.text, 30)) quotes = ['#%s: %r' % (q.id, utils.ellipsisify(q.text, 30))
for q in quote] for q in quote]
irc.reply(utils.commaAndify(quotes)) irc.reply(utils.commaAndify(quotes))
@ -281,7 +281,6 @@ class Quotes(callbacks.Privmsg):
irc.reply('No quotes matched that criteria.') irc.reply('No quotes matched that criteria.')
else: else:
self._replyQuote(irc, quote) self._replyQuote(irc, quote)
### FIXME: we need to remove those predicates from the database.
def random(self, irc, msg, args): def random(self, irc, msg, args):
"""[<channel>] """[<channel>]