On 18 Dic, 19:40, "Brent Pedersen" <[email protected]> wrote:
> Store is a base class which shows the methods required for a valid
> Store, you dont instantiate it directly, you inherit from it.
> try using DiskStore, DBStore, or ShelfStore.

I was subclassing it to implement a DBStore usable on appengine, but I
forgot to implement the cleanup method, and that's what I got from the
shell: "TypeError: exceptions must be classes, instances, or strings
(deprecated), not NotImplementedType". A TypeError warning me that I
should not raise NotImplemented, but an Exception subclass (such as
NotImplementedError). That's not the message I would expect to
receive ...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to