launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #26340
[Merge] ~cjwatson/launchpad:py3-mirror-admins-team-name into launchpad:master
Colin Watson has proposed merging ~cjwatson/launchpad:py3-mirror-admins-team-name into launchpad:master.
Commit message:
Fix mirror admins team name in vocabularies.txt
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
For more details, see:
https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/398257
At the time this test was written, 'mirrors-admins' seems to have been a typo for 'mirror-admins', but it was replaced with the per-distribution 'ubuntu-mirror-admins' not long afterward.
--
Your team Launchpad code reviewers is requested to review the proposed merge of ~cjwatson/launchpad:py3-mirror-admins-team-name into launchpad:master.
diff --git a/lib/lp/registry/doc/vocabularies.txt b/lib/lp/registry/doc/vocabularies.txt
index 6be66de..127ad1a 100644
--- a/lib/lp/registry/doc/vocabularies.txt
+++ b/lib/lp/registry/doc/vocabularies.txt
@@ -281,8 +281,8 @@ All the teams the person is an active member of.
>>> launchpad_team in person_active_membership
True
- >>> mirrors_admins = person_set.getByName('mirrors-admins')
- >>> mirrors_admins in person_active_membership
+ >>> ubuntu_mirror_admins = person_set.getByName('ubuntu-mirror-admins')
+ >>> ubuntu_mirror_admins in person_active_membership
False
The PersonActiveMembership vocabulary only shows teams where the
@@ -326,7 +326,7 @@ membership is public.
>>> print(term.token, term.value.displayname, term.title)
launchpad Launchpad Developers Launchpad Developers
- >>> term = person_active_membership.getTerm(mirrors_admins)
+ >>> term = person_active_membership.getTerm(ubuntu_mirror_admins)
Traceback (most recent call last):
...
LookupError:...
@@ -335,7 +335,7 @@ membership is public.
>>> print(term.token, term.value.displayname, term.title)
launchpad Launchpad Developers Launchpad Developers
- >>> term = person_active_membership.getTermByToken('mirrors-admins')
+ >>> term = person_active_membership.getTermByToken('ubuntu-mirror-admins')
Traceback (most recent call last):
...
LookupError:...