finding an object at startup
Is there a way to fetch a particular zope object from within the __init__.py product file? What I'd like to do is modify my ZSQL database connection adapter from within a python hotfix, rather than startup zope and set it via web/manage interface. In fact, if my SQL machine is forced to move to a new location, I may not even be able to startup zope. I've also tried hand editing the Data.fs file, which didn't work. Thanks, Albert
Albert Ting writes:
Is there a way to fetch a particular zope object from within the __init__.py product file? What I'd like to do is modify my ZSQL database connection adapter from within a python hotfix, rather than startup zope and set it via web/manage interface.
In fact, if my SQL machine is forced to move to a new location, I may not even be able to startup zope. I've also tried hand editing the Data.fs file, which didn't work. Search the mailing list archives for "app". It should reveal a thread discussing your question.
Dieter
participants (2)
-
Albert Ting -
Dieter Maurer