The SubscriptionWorkflow class doesn't need to include the expiry date in its
commit24c01dbd8e93acdc61884b3b9783a0e71fd6df23
authorBarry Warsaw <barry@list.org>
Mon, 13 Apr 2015 22:28:59 +0000 (13 18:28 -0400)
committerBarry Warsaw <barry@list.org>
Mon, 13 Apr 2015 22:28:59 +0000 (13 18:28 -0400)
tree18d2503ae488efa403f9606b9fbdf67298fec7ff
parentf7a4e76d24898ec942a0f3a9a932916d9d0662bc
The SubscriptionWorkflow class doesn't need to include the expiry date in its
pendable data since that gets added automatically by the IPendings utility.

After the user is subscribed, clean up the saved workflows and reset the token
to None.

Give the SubscriptionWorkflow a name property for convenience.
src/mailman/app/subscriptions.py
src/mailman/app/tests/test_subscriptions.py
src/mailman/app/workflow.py