launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #30711
[Merge] ~cjwatson/launchpad:fix-refactor-team-membership-active-states into launchpad:master
Colin Watson has proposed merging ~cjwatson/launchpad:fix-refactor-team-membership-active-states into launchpad:master.
Commit message:
Fix test regression caused by ACTIVE_STATES refactoring
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
For more details, see:
https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/455579
--
Your team Launchpad code reviewers is requested to review the proposed merge of ~cjwatson/launchpad:fix-refactor-team-membership-active-states into launchpad:master.
diff --git a/lib/lp/registry/model/person.py b/lib/lp/registry/model/person.py
index f166706..4281303 100644
--- a/lib/lp/registry/model/person.py
+++ b/lib/lp/registry/model/person.py
@@ -2504,7 +2504,7 @@ class Person(
def api_activemembers(self):
"""See `IPerson`."""
return self._members(
- direct=True, status=ACTIVE_STATES, preload_for_api=True
+ direct=True, status=tuple(ACTIVE_STATES), preload_for_api=True
)
@property