forgetting[something] KeyError: something

This commit is contained in:
Jeremy Fincher 2004-02-20 05:00:31 +00:00
parent 5deb99192e
commit d9a4a6da36

View File

@ -122,6 +122,7 @@ class WordStatsDB(plugins.ChannelUserDB):
n += 1
if id == someId:
return (n, count)
raise KeyError
def addWord(self, channel, word):
word = word.lower()