Review: Approve code

126     + TeamParticipation.teamID,
127     + where=(TeamParticipation.person == user),
128     + distinct=True))))

DISTINCT isn't necessary here. There's a unique constraint which implies it.
-- 
https://code.launchpad.net/~stevenk/launchpad/builder-history-better-query/+merge/123676
Your team Launchpad code reviewers is subscribed to branch lp:launchpad.

_______________________________________________
Mailing list: https://launchpad.net/~launchpad-reviewers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~launchpad-reviewers
More help   : https://help.launchpad.net/ListHelp

Reply via email to