← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~cjwatson/launchpad:poll-find-ignore-merged into launchpad:master

 

Colin Watson has proposed merging ~cjwatson/launchpad:poll-find-ignore-merged into launchpad:master.

Commit message:
Make PollSet.find skip polls for merged teams

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/401635

Polls aren't carried over when merging teams, so these are essentially orphaned: although they're still in the database, there's no way to access them.  We should do something about garbage-collection for such cases, but for now at least skip them in `PollSet.find` so that we only return accessible polls.
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~cjwatson/launchpad:poll-find-ignore-merged into launchpad:master.