Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Hamza
erp5
Commits
2c57b5a1
Commit
2c57b5a1
authored
Sep 12, 2019
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TimerService: fix import of bundled timerserver
Without this commit, it felt back to the timerserver egg.
parent
814e42cc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
product/TimerService/timerserver/__init__.py
product/TimerService/timerserver/__init__.py
+1
-1
product/TimerService/timerserver/component.xml
product/TimerService/timerserver/component.xml
+1
-1
No files found.
product/TimerService/timerserver/__init__.py
View file @
2c57b5a1
...
...
@@ -6,5 +6,5 @@ class TimerServerFactory(ServerFactory):
self
.
interval
=
section
.
interval
def
create
(
self
):
from
timerserver
.TimerServer
import
TimerServer
from
.TimerServer
import
TimerServer
return
TimerServer
(
self
.
module
,
self
.
interval
)
product/TimerService/timerserver/component.xml
View file @
2c57b5a1
...
...
@@ -2,7 +2,7 @@
<import
package=
"ZServer"
/>
<sectiontype
name=
"timer-server"
datatype=
"timerserver.TimerServerFactory"
datatype=
"
Products.TimerService.
timerserver.TimerServerFactory"
implements=
"ZServer.server"
>
<key
name=
"interval"
datatype=
"float"
default=
"600"
>
<description>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment