[copr] master: initialize multiprocessing base object (3e18ad1)

skvidal at fedorahosted.org skvidal at fedorahosted.org
Tue Jan 15 16:44:30 UTC 2013


Repository : http://git.fedorahosted.org/cgit/copr.git

On branch  : master

>---------------------------------------------------------------

commit 3e18ad1e4697ae867e8fbec2f941d749d5c3327f
Author: Seth Vidal <skvidal at fedoraproject.org>
Date:   Tue Jan 15 11:44:04 2013 -0500

    initialize multiprocessing base object


>---------------------------------------------------------------

 copr-be.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/copr-be.py b/copr-be.py
index 9391968..881c30d 100644
--- a/copr-be.py
+++ b/copr-be.py
@@ -26,6 +26,9 @@ class CoprJobGrab(multiprocessing.Process):
     """Fetch jobs from the Frontend - submit them to the jobs queue for workers"""
 
     def __init__(self, opts, events, jobs):
+        # base class initialization
+        multiprocessing.Process.__init__(self, name="jobgrab")
+
         self.opts = opts
         self.events = events
         self.jobs = jobs



More information about the copr-devel mailing list