[Pkg-debile-commits] [debile-master] 85/126: broken server

Sylvestre Ledru sylvestre at alioth.debian.org
Mon Aug 19 14:56:20 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 1a9714725dddb69221a27eb3b9275db6f6a6fe56
Author: Paul Tagliamonte <tag at pault.ag>
Date:   Wed Jun 12 21:57:14 2013 -0400

    broken server
---
 lucy/server.py |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/lucy/server.py b/lucy/server.py
index 075b91a..82d0d11 100644
--- a/lucy/server.py
+++ b/lucy/server.py
@@ -39,7 +39,7 @@ def machine_method(fn):
     def _(*args, **kwargs):
         try:
             get_builder_id()
-            fn(*args, **kwargs)
+            return fn(*args, **kwargs)
         except KeyError:
             raise Exception("You can't do that")
     return _
@@ -49,9 +49,10 @@ def user_method(fn):
     def _(*args, **kwargs):
         try:
             get_user_id()
-            fn(*args, **kwargs)
+            return fn(*args, **kwargs)
         except KeyError:
             raise Exception("You can't do that")
+    return _
 
 
 class LucyInterface(object):

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