[copr] skvidal-backend: started_on not startedon (a3f4780)
skvidal at fedoraproject.org
skvidal at fedoraproject.org
Fri Nov 16 20:43:47 UTC 2012
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : skvidal-backend
>---------------------------------------------------------------
commit a3f478092da7f88eec50dc57a34420437a3be7bc
Author: Seth Vidal <skvidal at fedoraproject.org>
Date: Fri Nov 16 15:41:46 2012 -0500
started_on not startedon
>---------------------------------------------------------------
backend/dispatcher.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/backend/dispatcher.py b/backend/dispatcher.py
index e216c4a..8b2733f 100644
--- a/backend/dispatcher.py
+++ b/backend/dispatcher.py
@@ -141,7 +141,7 @@ class Worker(multiprocessing.Process):
return jobdata
def return_results(self, job):
- self.callback.log('%s status %s. Took %s seconds' % (job.build_id, job.status, job.ended_on - job.startedon))
+ self.callback.log('%s status %s. Took %s seconds' % (job.build_id, job.status, job.ended_on - job.started_on))
os.unlink(job.jobfile)
#FIXME - this should either return job status/results
# into a queue or it should submit results directly to the frontend
More information about the copr-devel
mailing list