[Pkg-debile-commits] [debile-master] 79/126: update job

Sylvestre Ledru sylvestre at alioth.debian.org
Mon Aug 19 14:56:19 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 e43e435ea02c462d9d067b51d41aaedd684fc051
Author: Paul Tagliamonte <tag at pault.ag>
Date:   Mon Jun 10 21:09:43 2013 -0400

    update job
---
 lucy/models/job.py |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/lucy/models/job.py b/lucy/models/job.py
index 5f4cf45..7493ec0 100644
--- a/lucy/models/job.py
+++ b/lucy/models/job.py
@@ -60,9 +60,11 @@ class Job(LucyObject):
         if self['package_type'] == 'source':
             return Source.load(self['package'])
 
-    def get_reports(self):
+    def get_reports(self, spec):
         from lucy.models.report import Report
-        for x in Report.query({"job": self['_id']}):
+        spec = spec.copy()
+        spec.update({"job": self['_id']})
+        for x in Report.query(spec):
             yield x
 
     def get_builder(self):

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