[Pkg-debile-commits] [debile-master] 61/126: source package update
Sylvestre Ledru
sylvestre at alioth.debian.org
Mon Aug 19 14:56:15 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 79cafff78da81b0072cc7e08d9f933449bee318e
Author: Paul Tagliamonte <tag at pault.ag>
Date: Sat Jun 1 22:47:13 2013 -0400
source package update
---
lucy/models/source.py | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/lucy/models/source.py b/lucy/models/source.py
index 0cda65f..9e444b5 100644
--- a/lucy/models/source.py
+++ b/lucy/models/source.py
@@ -22,6 +22,13 @@ class Source(LucyObject):
for x in Job.by_package(self['_id']):
yield x
+ def get_pending_jobs(self):
+ for x in Job.query({
+ "source": self['_id'],
+ "finished_at": None
+ }):
+ yield x
+
def get_reports(self):
from lucy.models.report import Report
for x in Report.query({"package": self['_id']}):
--
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