[Checkins] SVN: Sandbox/gotcha/z3c.taskqueue/src/z3c/taskqueue/baseservice.py docstring needed to be publishable on Zope2

Godefroid Chapelle gotcha at bubblenet.be
Wed Apr 14 06:27:43 EDT 2010


Log message for revision 110849:
  docstring needed to be publishable on Zope2

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

-=-
Modified: Sandbox/gotcha/z3c.taskqueue/src/z3c/taskqueue/baseservice.py
===================================================================
--- Sandbox/gotcha/z3c.taskqueue/src/z3c/taskqueue/baseservice.py	2010-04-14 10:26:59 UTC (rev 110848)
+++ Sandbox/gotcha/z3c.taskqueue/src/z3c/taskqueue/baseservice.py	2010-04-14 10:27:42 UTC (rev 110849)
@@ -143,6 +143,9 @@
         return str(self.jobs[jobid].error)
 
     def hasJobsWaiting(self, now=None):
+        """
+        are there jobs waiting ?
+        """
         # If there is are any simple jobs in the queue, we have work to do.
         if self._queue:
             return True
@@ -166,6 +169,9 @@
         return False
 
     def claimNextJob(self, now=None):
+        """
+        claim next hob
+        """
         job = self._pullJob(now)
         return job and job.id or None
 



More information about the checkins mailing list