Note that Zope2.app() opens a new ZODB connection which you need to
close at some point. I suggest something along the lines of:
app = Zope2.app()
try:
products = app.Control_Panel.Products
...
finally:
app._p_jar.close()
On Thu, 2006-04-05 at 10:43 +0200, Stefan H. Holek wrote:
Note that Zope2.app() opens a new ZODB connection which you need to
close at some point. I suggest something along the lines of:
app = Zope2.app()
try:
products = app.Control_Panel.Products
On Thu, 2006-04-05 at 08:23 -0230, Rocky Burt wrote:
On Thu, 2006-04-05 at 10:43 +0200, Stefan H. Holek wrote:
Note that Zope2.app() opens a new ZODB connection which you need to
close at some point. I suggest something along the lines of:
app = Zope2.app()
try: