[Pkg-debile-commits] [debile-master] 09/26: Use UUID as said before
Sylvestre Ledru
sylvestre at alioth.debian.org
Tue Aug 20 16:22:35 UTC 2013
This is an automated email from the git hooks/post-receive script.
sylvestre pushed a commit to branch master
in repository debile-master.
commit 8aea4241201bec5859923a4e3870c6178f5c691d
Author: Léo Cavaillé <leo at cavaille.net>
Date: Fri Aug 9 23:00:36 2013 +0200
Use UUID as said before
---
lucy/server.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lucy/server.py b/lucy/server.py
index 70ecd69..00922d6 100644
--- a/lucy/server.py
+++ b/lucy/server.py
@@ -297,7 +297,7 @@ class LucyInterface(object):
Close a job after pushing reports / binaries up.
"""
session = Session()
- j = session.query(Job).filter(Job.id == job_id).one()
+ j = session.query(Job).filter(Job.uuid == job_uuid).one()
j.finished_at = dt.datetime.utcnow()
j.failed = failed
session.commit()
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-debile/debile-master.git
More information about the Pkg-debile-commits
mailing list