[Checkins] SVN: zc.selenium/branches/wosc-zope2/src/zc/selenium/selenium.py work around if there is a non-zope2-bundled zdaemon on sys.path
Wolfgang Schnerring
wosc at wosc.de
Thu Feb 26 03:11:22 EST 2009
Log message for revision 97282:
work around if there is a non-zope2-bundled zdaemon on sys.path
Changed:
U zc.selenium/branches/wosc-zope2/src/zc/selenium/selenium.py
-=-
Modified: zc.selenium/branches/wosc-zope2/src/zc/selenium/selenium.py
===================================================================
--- zc.selenium/branches/wosc-zope2/src/zc/selenium/selenium.py 2009-02-26 00:45:45 UTC (rev 97281)
+++ zc.selenium/branches/wosc-zope2/src/zc/selenium/selenium.py 2009-02-26 08:11:21 UTC (rev 97282)
@@ -53,6 +53,8 @@
# overrides when using zopectl?
original_start = Zope2.Startup.zopectl.ZopeCmd.do_start
def do_start_port(self, arg):
+ self.options.zdrun = os.path.join(os.path.dirname(os.path.dirname(Zope2.__file__)),
+ 'zdaemon', 'zdrun.py')
self.options.program[1:1] = ["-X", "http-server/address=" + port]
original_start(self, arg)
Zope2.Startup.zopectl.ZopeCmd.do_start = do_start_port
More information about the Checkins
mailing list