Update worker.py

Use docstring instead of comment. Sorry.
This commit is contained in:
Marc Brinkmann 2014-02-03 08:58:16 +01:00
parent 3d0138d319
commit e81ee5b672
1 changed files with 1 additions and 1 deletions

View File

@ -242,8 +242,8 @@ class Worker(object):
job_id = property(get_job_id, set_job_id)
# most client will want to use the method below to query the current job
def get_current_job(self):
"""Returns the job id of the currently executing job."""
job_id = self.get_job_id()
if job_id is None: