summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2012-08-17 16:55:33 +0200
committerAurélien Bompard <aurelien@bompard.org>2012-09-07 10:40:54 +0200
commit356001dcd72dd461ec3a490b7b3d309f20021e90 (patch)
tree4644b255743da3803aa1628f7d4e93b187bf9d0d
parent4051981f32379b673c5ef2c50962d05570b91204 (diff)
downloadkittystore-356001dcd72dd461ec3a490b7b3d309f20021e90.tar.gz
kittystore-356001dcd72dd461ec3a490b7b3d309f20021e90.tar.xz
kittystore-356001dcd72dd461ec3a490b7b3d309f20021e90.zip
Messages should always be in a list
-rw-r--r--kittystore/sa/store.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/kittystore/sa/store.py b/kittystore/sa/store.py
index c0755df..59a9f91 100644
--- a/kittystore/sa/store.py
+++ b/kittystore/sa/store.py
@@ -85,6 +85,8 @@ class KittySAStore(object):
The storage service is also allowed to raise this exception
if it find, but disallows collisions.
"""
+ # Not sure this is useful: a message should always be in a list
+ raise NotImplementedError
def add_to_list(self, list_name, message):
"""Add the message to a specific list of the store.
@@ -157,6 +159,8 @@ class KittySAStore(object):
store.
:raises LookupError: if there is no such message.
"""
+ # Not sure this is useful: a message should always be in a list
+ raise NotImplementedError
def delete_message_from_list(self, list_name, message_id):
"""Remove the given message for a specific list from the store.