summaryrefslogtreecommitdiff
path: root/src/mailman/rest/lists.py
diff options
context:
space:
mode:
authorBarry Warsaw2010-08-12 17:51:56 -0400
committerBarry Warsaw2010-08-12 17:51:56 -0400
commit316fa9af0949638a0354b67471052aa9bfe9fca0 (patch)
tree0c691d0161efbb9538ee3a033190250e74a812a8 /src/mailman/rest/lists.py
parent81663e54791c4e0ccbf54c89b168d8b11f05eba8 (diff)
downloadmailman-316fa9af0949638a0354b67471052aa9bfe9fca0.tar.gz
mailman-316fa9af0949638a0354b67471052aa9bfe9fca0.tar.zst
mailman-316fa9af0949638a0354b67471052aa9bfe9fca0.zip
Expose description in the interface and REST API.
Diffstat (limited to 'src/mailman/rest/lists.py')
-rw-r--r--src/mailman/rest/lists.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mailman/rest/lists.py b/src/mailman/rest/lists.py
index 26aabbf49..31c5dcfb0 100644
--- a/src/mailman/rest/lists.py
+++ b/src/mailman/rest/lists.py
@@ -225,6 +225,7 @@ READABLE = (
'host_name',
'fqdn_listname',
'real_name',
+ 'description',
'list_id',
'include_list_post_header',
'include_rfc2369_headers',
@@ -291,6 +292,7 @@ class enum_validator:
VALIDATORS = {
# Identity.
'real_name': unicode,
+ 'description': unicode,
'include_list_post_header': as_boolean,
'include_rfc2369_headers': as_boolean,
'advertised': as_boolean,