Almad wrote:
Hello,

I'm trying to use IndexedCatalog
[http://www.async.com.br/projects/IndexedCatalog/] in my CherryPy
[http://www.cherrypy.org] application. As Zodb support access just from one Python thread, I must either use just
one CherryPy thread (slow), or use ZEO. However, if I understand it good,
when I use from ZEO import ClientStorage


then ZEO is internally using FileStorage, so no IndexedCatalog is used.

If you're using IndexedCatalog's Shelf class, just pass it a host/port tuple instead of a path:


from IndexedCatalog.Shelf import Shelf
shelf = Shelf(('localhost', 1234), [Class1, Class2])
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to