def buildOptions(self): """basic options setup sub classes can add more options here""" ZenDaemon.buildOptions(self) self.parser.add_option('--host', dest="host",default="localhost", help="hostname of zeo server") self.parser.add_option('--port', dest="port",type="int", default=8100, help="port of zeo server")
def buildOptions(self): """basic options setup sub classes can add more options here""" ZenDaemon.buildOptions(self) self.parser.add_option('--host', dest="host", default="localhost", help="hostname of zeo server") self.parser.add_option('--port', dest="port", type="int", default=8100, help="port of zeo server")
def buildOptions(self): """basic options setup sub classes can add more options here""" ZenDaemon.buildOptions(self) connectionFactory = getUtility(IZodbFactoryLookup).get() connectionFactory.buildOptions(self.parser)