[Pkg-debile-commits] [debile-master] 39/126: tweak
Sylvestre Ledru
sylvestre at alioth.debian.org
Mon Aug 19 14:56:11 UTC 2013
This is an automated email from the git hooks/post-receive script.
sylvestre pushed a commit to branch scan-build-html
in repository debile-master.
commit 49f012e6b262235eb20ff6163999eaacb0812d74
Author: Paul Tagliamonte <tag at pault.ag>
Date: Tue May 28 22:18:49 2013 -0400
tweak
---
lucy/server.py | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/lucy/server.py b/lucy/server.py
index 31e8328..445c3be 100644
--- a/lucy/server.py
+++ b/lucy/server.py
@@ -77,7 +77,13 @@ class LucyInterface(object):
"""
Get an unassigned lint job from suite suites, arches arches
"""
- return dict(Job.next_job(suites, arches))
+ nj = Job.next_job(suites, arches)
+ if nj is None:
+ return None
+ nj['assigned_at'] = dt.datetime.utcnow()
+ nj['builder'] = get_builder_id()
+ nj.save()
+ return dict(nj)
def submit_report(self, report, log, package, package_type, job, failed):
"""
--
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