[Zope] How to know if a Zeo connection is read-only ?

Dieter Maurer dieter at handshake.de
Tue Mar 8 13:59:21 EST 2005


Pascal Peregrina wrote at 2005-3-8 17:30 +0100:
>Another product developpment problem ;)
>
>I've got 2 kind of Zope instances :
>1/ "RO Zopes":
>- / is a local FileStorage
>- /somefolder is a ZeoStorage mounted read-only
>2/ "RW Zopes":
>- / is a local FileStorage
>- /somefolder is a ZeoStorage mounted read-write
>
>I would like to know, inside a Zope product, how I can know if I am in a RO
>or RW Zope instance.

Tim Peters answered such a question recently.
Search the mailing list archives ("zodb-dev", "zope-dev", "zope"),
search for "isReadOnly".

-- 
Dieter


More information about the Zope mailing list