Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : skvidal-backend
commit a1349acfffefce3ee6bd56b1eac12312e619ef1a Author: Seth Vidal skvidal@fedoraproject.org Date: Wed Dec 5 00:56:57 2012 -0500
when we're dealing with no repos specified - make sure we don't treat '' as a repo
backend/dispatcher.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/backend/dispatcher.py b/backend/dispatcher.py index a9427aa..796a9b6 100644 --- a/backend/dispatcher.py +++ b/backend/dispatcher.py @@ -154,7 +154,7 @@ class Worker(multiprocessing.Process): build = d['builds'][0] jobdata = Bunch() jobdata.pkgs = build['pkgs'].split(' ') - jobdata.repos = build['repos'].split(' ') + jobdata.repos = [r for r in build['repos'].split(' ') if r.strip() ] jobdata.chroots = build['chroots'].split(' ') jobdata.memory_reqs = build['memory_reqs'] jobdata.timeout = build['timeout'] @@ -223,7 +223,7 @@ class Worker(multiprocessing.Process): # start the build - most importantly license checks.
- self.callback.log('mockremote %s %s %s %s %s' % (ip, job.timeout, job.destdir, chroot, str(job.repos))) + self.callback.log('Calling mockremote with builder=%r timeout=%r destdir=%r chroot=%r repos=%r' % (ip, job.timeout, job.destdir, chroot, str(job.repos))) try: chrootlogfile = chroot_destdir + '/mockremote.log' mr = mockremote.MockRemote(builder=ip, timeout=job.timeout,
copr-devel@lists.fedorahosted.org