Repository :
http://git.fedorahosted.org/cgit/copr.git
On branch : master
---------------------------------------------------------------
commit 8f45e011a591d6fe6ec98d26707253d19c5ad5ad
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Wed Oct 9 23:20:26 2013 +0200
convert comment into docstring
---------------------------------------------------------------
backend/dispatcher.py | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/backend/dispatcher.py b/backend/dispatcher.py
index 4817eeb..1508bd6 100644
--- a/backend/dispatcher.py
+++ b/backend/dispatcher.py
@@ -256,11 +256,12 @@ class Worker(multiprocessing.Process):
os.unlink(job.jobfile)
def run(self):
- # worker should startup and check if it can function
- # for each job it takes from the jobs queue
- # run opts.setup_playbook to create the instance
- # do the build (mockremote)
- # terminate the instance
+ """ Worker should startup and check if it can function
+ for each job it takes from the jobs queue
+ run opts.setup_playbook to create the instance
+ do the build (mockremote)
+ terminate the instance
+ """
while not self.kill_received:
try: