Extended libbe.storage.base for separate read/write control.
authorW. Trevor King <wking@drexel.edu>
Tue, 8 Dec 2009 08:52:37 +0000 (03:52 -0500)
committerW. Trevor King <wking@drexel.edu>
Tue, 8 Dec 2009 08:52:37 +0000 (03:52 -0500)
commitd64b6336f75078445f2b730b31598817ac1cdb7a
tree33d5e27dd00a40af26425da5bc3d16515a48ad15
parente5177b9150290004f472d08c13dfe78075f029e8
Extended libbe.storage.base for separate read/write control.

Rather than just having .read_only to set write permissions and
assuming that read was always legal.  We also added user and backend
control of both readable and writeable:
  do you want to read/write?
and
  can you read/write?

Specialized NotSupported into NotWriteable and NotReadable.

Added automatic unicode encoding on .set(), and decode option on
.get().
libbe/storage/base.py