Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : skvidal-backend
commit 3d0d368615ea4fee2c4d41a3c140f1aef8ef7a91 Author: Seth Vidal skvidal@fedoraproject.org Date: Fri Nov 30 11:08:32 2012 -0500
basename not dirname
backend/dispatcher.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/backend/dispatcher.py b/backend/dispatcher.py index c9b34e9..8b47c70 100644 --- a/backend/dispatcher.py +++ b/backend/dispatcher.py @@ -155,7 +155,7 @@ class Worker(multiprocessing.Process):
def return_results(self, job): self.callback.log('%s status %s. Took %s seconds' % (job.build_id, job.status, job.ended_on - job.started_on)) - jobfilename = os.path.dirname(job.jobfile) + jobfilename = os.path.basename(job.jobfile) os.rename(job.jobfile, job.destdir + '/' + jobfilename) #FIXME - this should either return job status/results # into a queue or it should submit results directly to the frontend
copr-devel@lists.fedorahosted.org