Changed the pass statements to 'raise NotImplementedError' statements so the new changenews test would error out more quickly.

This commit is contained in:
Jeremy Fincher 2003-10-07 09:32:42 +00:00
parent c5a7573f87
commit 9f2d619db8

View File

@ -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