import from External Method
Hi How do I tell Zope that a python-module which I import from a Zope "External Method" has changed? Please help, since I can't believe that Zope expects just External Methods consisting of just one file. Regards, Marc
On Tue, Oct 30, 2001 at 08:02:01PM +0100, Marc O. Sandlus wrote:
Hi
How do I tell Zope that a python-module which I import from a Zope "External Method" has changed?
You could restart Zope. If that takes too long, maybe try this in your external method: import some_module reload(some_module) -- paul winkler home: http://www.slinkp.com music: http://www.reacharms.com calendars: http://www.calendargalaxy.com
Paul Winkler writes:
On Tue, Oct 30, 2001 at 08:02:01PM +0100, Marc O. Sandlus wrote:
How do I tell Zope that a python-module which I import from a Zope "External Method" has changed?
You could restart Zope. If that takes too long, maybe try this in your external method:
import some_module reload(some_module) or in a different External Method, you can call when needed with the module as parameter.
In any case, you must later press the "change" button in your External Methods "edit" tab such that it sees the changed module. Dieter
participants (3)
-
Dieter Maurer -
Marc O. Sandlus -
Paul Winkler