[Pkg-debile-commits] [debile-master] 10/26: No serialization when not necessary

Sylvestre Ledru sylvestre at alioth.debian.org
Tue Aug 20 16:22:36 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 c9bcebc3dce8065293a6fb60bf77839854e24478
Author: Léo Cavaillé <leo at cavaille.net>
Date:   Fri Aug 9 23:15:13 2013 +0200

    No serialization when not necessary
---
 lucy/server.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lucy/server.py b/lucy/server.py
index 00922d6..ea55cef 100644
--- a/lucy/server.py
+++ b/lucy/server.py
@@ -230,7 +230,7 @@ class LucyInterface(object):
         j.assigned_at = None
         j.machine = None
         session.commit()
-        return j.serialize()
+        return True
 
     @machine_method
     def get_next_job(self, suites, arches, types):
@@ -301,7 +301,7 @@ class LucyInterface(object):
         j.finished_at = dt.datetime.utcnow()
         j.failed = failed
         session.commit()
-        return j.serialize()
+        return True
 
 
 # =================== ok, boring shit below ===================

-- 
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