Expose held subscription/unsubscription requests via the API.
commit0128cd2b2ec3da45dd7636b8843cb4bd3e1fff73
authorBarry Warsaw <barry@list.org>
Sat, 15 Dec 2012 20:44:05 +0000 (15 15:44 -0500)
committerBarry Warsaw <barry@list.org>
Sat, 15 Dec 2012 20:44:05 +0000 (15 15:44 -0500)
treeeeeb29a46dc70a0fad946e6a6a7e8821104014bc
parenta3c1fad102fc1fc454ddfa2bd66068b9aab636fe
Expose held subscription/unsubscription requests via the API.

* hold_subscription(): Don't str(mode) to get a string representation, just
  mode.name since we know it is a DeliveryMode.  This means we don't need to
  split the value later in handle_subscription().
src/mailman/app/moderator.py
src/mailman/model/requests.py
src/mailman/rest/docs/moderation.rst
src/mailman/rest/lists.py
src/mailman/rest/moderation.py