[Pkg-debile-commits] [debile-master] 77/126: tweaking up some garbage

Sylvestre Ledru sylvestre at alioth.debian.org
Mon Aug 19 14:56:18 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 a8dbca9494708d80a703637bf15157a81f2f115b
Author: Paul Tagliamonte <tag at pault.ag>
Date:   Mon Jun 10 20:52:13 2013 -0400

    tweaking up some garbage
---
 eg/config.json     |   15 +++++++++++++++
 lucy/models/job.py |    5 +----
 2 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/eg/config.json b/eg/config.json
index dd12472..de51f31 100644
--- a/eg/config.json
+++ b/eg/config.json
@@ -30,6 +30,21 @@
                 "testing",
                 "stable"
             ]
+        },
+        {
+            "_id": "auto-rebuild",
+            "job_classes": {
+                "binary": [
+                    "piuparts",
+                    "adequate",
+                    "lintian",
+                    "lintian4py"
+                ],
+                "source": [
+                    "lintian",
+                    "lintian4py"
+                ]
+            }
         }
     ],
     "machines": [
diff --git a/lucy/models/job.py b/lucy/models/job.py
index 4a57dbc..9200f1c 100644
--- a/lucy/models/job.py
+++ b/lucy/models/job.py
@@ -114,10 +114,7 @@ class Job(LucyObject):
         return False
 
     def is_failed(self):
-        for report in self.get_reports():
-            if not report['failed']:
-                return False
-        return True
+        return self.get_reports({"failed": False}).count() != 0
 
     def is_critical(self):
         if self['type'] in [

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