Commit 2c57b5a1 authored by Julien Muchembled's avatar Julien Muchembled

TimerService: fix import of bundled timerserver

Without this commit, it felt back to the timerserver egg.
parent 814e42cc
...@@ -6,5 +6,5 @@ class TimerServerFactory(ServerFactory): ...@@ -6,5 +6,5 @@ class TimerServerFactory(ServerFactory):
self.interval = section.interval self.interval = section.interval
def create(self): def create(self):
from timerserver.TimerServer import TimerServer from .TimerServer import TimerServer
return TimerServer(self.module, self.interval) return TimerServer(self.module, self.interval)
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<import package="ZServer" /> <import package="ZServer" />
<sectiontype name="timer-server" <sectiontype name="timer-server"
datatype="timerserver.TimerServerFactory" datatype="Products.TimerService.timerserver.TimerServerFactory"
implements="ZServer.server"> implements="ZServer.server">
<key name="interval" datatype="float" default="600"> <key name="interval" datatype="float" default="600">
<description> <description>
......
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