mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-10-11 22:37:23 +02:00
Changed the pass statements to 'raise NotImplementedError' statements so the new changenews test would error out more quickly.
This commit is contained in:
parent
c5a7573f87
commit
9f2d619db8
@ -217,15 +217,16 @@ class News(plugins.ChannelDBHandler, callbacks.Privmsg):
|
|||||||
s/text/replacement/flags. <channel> is only necessary if the message
|
s/text/replacement/flags. <channel> is only necessary if the message
|
||||||
isn't sent on the channel itself.
|
isn't sent on the channel itself.
|
||||||
"""
|
"""
|
||||||
pass
|
raise NotImplementedError
|
||||||
|
|
||||||
def oldnews(self, irc, msg, args):
|
def oldnews(self, irc, msg, args):
|
||||||
"""[<channel>] <number>
|
"""[<channel>] [<number>]
|
||||||
|
|
||||||
Returns the old news item for <channel> with id <number>. <channel>
|
Returns the old news item for <channel> with id <number>. If no number
|
||||||
|
is given, returns all the old news items in reverse order. <channel>
|
||||||
is only necessary if the message isn't sent in the channel itself.
|
is only necessary if the message isn't sent in the channel itself.
|
||||||
"""
|
"""
|
||||||
pass
|
raise NotImplementedError
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user