コード例 #1
0
ファイル: sprint.py プロジェクト: pombreda/UnnaturalCodeFork
 def __iter__(self):
     future_sprints = Sprint.select("time_ends > 'NOW'")
     for sprint in future_sprints:
         yield(self.toTerm(sprint))
コード例 #2
0
 def coming_sprints(self):
     """See ISpecificationSet."""
     from lp.blueprints.model.sprint import Sprint
     return Sprint.select("time_ends > 'NOW'", orderBy='time_starts',
         limit=5)
コード例 #3
0
 def coming_sprints(self):
     """See ISpecificationSet."""
     from lp.blueprints.model.sprint import Sprint
     return Sprint.select("time_ends > 'NOW'",
                          orderBy='time_starts',
                          limit=5)
コード例 #4
0
ファイル: sprint.py プロジェクト: pombreda/UnnaturalCodeFork
 def __iter__(self):
     future_sprints = Sprint.select("time_ends > 'NOW'")
     for sprint in future_sprints:
         yield (self.toTerm(sprint))