Exemplo n.º 1
0
 def getUsedBugTagsWithOpenCounts(self, user, tag_limit=0,
                                  include_tags=None):
     """See IBugTarget."""
     from lp.bugs.model.bug import get_bug_tags_open_count
     return get_bug_tags_open_count(
         self.getBugSummaryContextWhereClause(),
         user, tag_limit=tag_limit, include_tags=include_tags)
Exemplo n.º 2
0
 def getUsedBugTagsWithOpenCounts(self,
                                  user,
                                  tag_limit=0,
                                  include_tags=None):
     """See IBugTarget."""
     from lp.bugs.model.bug import get_bug_tags_open_count
     return get_bug_tags_open_count(self.getBugSummaryContextWhereClause(),
                                    user,
                                    tag_limit=tag_limit,
                                    include_tags=include_tags)
Exemplo n.º 3
0
 def getUsedBugTagsWithOpenCounts(self,
                                  user,
                                  tag_limit=0,
                                  include_tags=None):
     """See IBugTarget."""
     # Circular fail.
     from lp.bugs.model.bugsummary import BugSummary
     return get_bug_tags_open_count(And(
         BugSummary.distroseries == self.distroseries,
         BugSummary.sourcepackagename == self.sourcepackagename),
                                    user,
                                    tag_limit=tag_limit,
                                    include_tags=include_tags)