mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01: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
|
||||
isn't sent on the channel itself.
|
||||
"""
|
||||
pass
|
||||
raise NotImplementedError
|
||||
|
||||
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.
|
||||
"""
|
||||
pass
|
||||
raise NotImplementedError
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user