~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/model/person.py

Merged db-devel

Show diffs side-by-side

added added

removed removed

Lines of Context:
837
837
        """No-op, to satisfy a requirement of HasBugsBase."""
838
838
        pass
839
839
 
 
840
    @property
 
841
    def max_bug_heat(self):
 
842
        """Return None as this attribute is not implemented for a person.
 
843
 
 
844
        XXX deryck 2010-02-28 bug=529846
 
845
        This requires a DB patch to be done correctly, and we're
 
846
        near release and tests are failing.
 
847
        """
 
848
        return None
 
849
 
840
850
    def searchTasks(self, search_params, *args, **kwargs):
841
851
        """See `IHasBugs`."""
842
852
        if search_params is None and len(args) == 0:
2255
2265
                                    upload_archive)
2256
2266
                    sourcepackagerelease.id
2257
2267
                FROM sourcepackagerelease, archive,
2258
 
                    securesourcepackagepublishinghistory sspph
 
2268
                    sourcepackagepublishinghistory sspph
2259
2269
                WHERE
2260
2270
                    sspph.sourcepackagerelease = sourcepackagerelease.id AND
2261
2271
                    sspph.archive = archive.id AND