[Checkins] SVN: Sandbox/gotcha/z3c.taskqueue/src/z3c/taskqueue/service.py remove code related to startup subscriber

Godefroid Chapelle gotcha at bubblenet.be
Mon Mar 8 05:35:55 EST 2010


Log message for revision 109808:
  remove code related to startup subscriber

Changed:
  U   Sandbox/gotcha/z3c.taskqueue/src/z3c/taskqueue/service.py

-=-
Modified: Sandbox/gotcha/z3c.taskqueue/src/z3c/taskqueue/service.py
===================================================================
--- Sandbox/gotcha/z3c.taskqueue/src/z3c/taskqueue/service.py	2010-03-08 10:34:51 UTC (rev 109807)
+++ Sandbox/gotcha/z3c.taskqueue/src/z3c/taskqueue/service.py	2010-03-08 10:35:55 UTC (rev 109808)
@@ -18,7 +18,6 @@
 
 from lovely.remotetask import interfaces, job, task, processor
 from zope import component
-from zope.app.appsetup.product import getProductConfiguration
 from zope.app.container import contained
 from zope.component.interfaces import ComponentLookupError
 from zope.traversing.api import getParents
@@ -344,14 +343,3 @@
             if uid not in self.jobs:
                 return uid
             self._v_nextid = None
-
-
-def getAutostartServiceNames():
-    """get a list of services to start"""
-
-    serviceNames = []
-    config = getProductConfiguration('lovely.remotetask')
-    if config is not None:
-        serviceNames = [name.strip()
-                        for name in config.get('autostart', '').split(',')]
-    return serviceNames



More information about the checkins mailing list