[ZODB-Dev] runzeo.py monitor_address bug
mmillikan at vfa.com
mmillikan at vfa.com
Mon Jan 5 18:23:25 EST 2004
monitor_address is not converted to a tuple when read from a config
file. Attached is a patch against cvs version 1.20. All it does is
change line 90's "...zeo.monitor_address..." to
"...zeo.monitor_address.address...". This is similar to the
"...zeo.address.address..." seven lines earlier. Seems to work both
with config file and command line -m switch
-------------- next part --------------
*** C:\\DOCUME~1\\MMILLI~1\\LOCALS~1\\Temp\\runzeo.py Mon Jan 05 16:35:53 2004
--- C:\\DOCUME~1\\MMILLI~1\\LOCALS~1\\Temp\\runzeomonitor.py Mon Jan 05 16:35:53 2004
***************
*** 87,93 ****
default=100)
self.add("transaction_timeout", "zeo.transaction_timeout",
"t:", "timeout=", float)
! self.add("monitor_address", "zeo.monitor_address", "m:", "monitor=",
self.handle_monitor_address)
self.add('auth_protocol', 'zeo.authentication_protocol',
None, 'auth-protocol=', default=None)
--- 87,93 ----
default=100)
self.add("transaction_timeout", "zeo.transaction_timeout",
"t:", "timeout=", float)
! self.add("monitor_address", "zeo.monitor_address.address", "m:", "monitor=",
self.handle_monitor_address)
self.add('auth_protocol', 'zeo.authentication_protocol',
None, 'auth-protocol=', default=None)
-------------- next part --------------
mark millikan
More information about the ZODB-Dev
mailing list