Commit 1d9d216b authored by Arnaud Fontaine's avatar Arnaud Fontaine

WIP: zope4: ZServer removal: Remove TimerServer old code.

parent 4f08ae8c
import six
if six.PY2:
from ZServer.datatypes import ServerFactory
class TimerServerFactory(ServerFactory):
def __init__(self, section):
ServerFactory.__init__(self)
self.interval = section.interval
def create(self):
from .TimerServer import TimerServer
return TimerServer(self.module, self.interval)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment