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

Pascal Peregrina Pperegrina at Lastminute.com
Tue Mar 8 11:30:12 EST 2005


Hi,

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.

Thanks for your help.

Pascal


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************



More information about the Zope mailing list