def unlinkSprint(self, sprint):
     """See ISpecification."""
     from lp.blueprints.model.sprintspecification import (
         SprintSpecification)
     for sprint_link in self.sprint_links:
         # sprints have unique names
         if sprint_link.sprint.name == sprint.name:
             SprintSpecification.delete(sprint_link.id)
             return sprint_link
 def unlinkSprint(self, sprint):
     """See ISpecification."""
     from lp.blueprints.model.sprintspecification import (
         SprintSpecification)
     for sprint_link in self.sprint_links:
         # sprints have unique names
         if sprint_link.sprint.name == sprint.name:
             SprintSpecification.delete(sprint_link.id)
             return sprint_link
Beispiel #3
0
 def unlinkSpecification(self, spec):
     """See `ISprint`."""
     for speclink in self.spec_links:
         if speclink.spec.id == spec.id:
             SprintSpecification.delete(speclink.id)
             return speclink
Beispiel #4
0
 def unlinkSpecification(self, spec):
     """See `ISprint`."""
     for speclink in self.spec_links:
         if speclink.spec.id == spec.id:
             SprintSpecification.delete(speclink.id)
             return speclink