Example #1
0
 def __iter__(self):
     future_sprints = Sprint.select("time_ends > 'NOW'")
     for sprint in future_sprints:
         yield(self.toTerm(sprint))
 def coming_sprints(self):
     """See ISpecificationSet."""
     from lp.blueprints.model.sprint import Sprint
     return Sprint.select("time_ends > 'NOW'", orderBy='time_starts',
         limit=5)
 def coming_sprints(self):
     """See ISpecificationSet."""
     from lp.blueprints.model.sprint import Sprint
     return Sprint.select("time_ends > 'NOW'",
                          orderBy='time_starts',
                          limit=5)
Example #4
0
 def __iter__(self):
     future_sprints = Sprint.select("time_ends > 'NOW'")
     for sprint in future_sprints:
         yield (self.toTerm(sprint))