← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~ilkeremrekoc/launchpad:mailing-list-archive into launchpad:master

 

İlker Emre Koç has proposed merging ~ilkeremrekoc/launchpad:mailing-list-archive into launchpad:master.

Commit message:
Export mailing list to the API

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~ilkeremrekoc/launchpad/+git/launchpad/+merge/487124
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~ilkeremrekoc/launchpad:mailing-list-archive into launchpad:master.
diff --git a/lib/lp/registry/interfaces/person.py b/lib/lp/registry/interfaces/person.py
index a3cb45b..f3aad96 100644
--- a/lib/lp/registry/interfaces/person.py
+++ b/lib/lp/registry/interfaces/person.py
@@ -1481,8 +1481,8 @@ class IPersonViewRestricted(
     # schema of IMailingList, but setting that up correctly causes a circular
     # import error with interfaces.mailinglists that is too difficult to
     # unfunge for this one attribute.
-    mailing_list = Attribute(
-        _("The team's mailing list, if it has one, otherwise None.")
+    mailing_list = exported(
+        Attribute(_("The team's mailing list, if it has one, otherwise None."))
     )
 
     def getProjectsAndCategoriesContributedTo(user, limit=10):

References