[Pkg-debile-commits] [debile-master] 81/126: fixing job models

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 46ee94a7ccdca32913bc55dbb222487c342b1191
Author: Paul Tagliamonte <tag at pault.ag>
Date:   Mon Jun 10 23:25:30 2013 -0400

    fixing job models
---
 lucy/models/job.py |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lucy/models/job.py b/lucy/models/job.py
index 13e43bf..c0c59c2 100644
--- a/lucy/models/job.py
+++ b/lucy/models/job.py
@@ -60,6 +60,10 @@ class Job(LucyObject):
         if self['package_type'] == 'source':
             return Source.load(self['package'])
 
+    def get_source(self):
+        from lucy.models.source import Source
+        return Source.load(self['source'])
+
     def get_reports(self, spec):
         from lucy.models.report import Report
         spec = spec.copy()

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