mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Style updates.
This commit is contained in:
parent
e11ced5f00
commit
4348b41178
@ -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>]
|
||||||
|
Loading…
Reference in New Issue
Block a user