diff options
| author | Barry Warsaw | 2015-04-16 15:28:06 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2015-04-16 15:28:06 -0400 |
| commit | 53d4229bff96677a54fd443322c166c2bdcc3054 (patch) | |
| tree | ff233bc6fa95d24bc4e66c8192d10c1b87ed2efc /src/mailman/app/subscriptions.py | |
| parent | c5e63e32bd713ef6b3ba05cec5cdc4926a44bcc5 (diff) | |
| download | mailman-53d4229bff96677a54fd443322c166c2bdcc3054.tar.gz mailman-53d4229bff96677a54fd443322c166c2bdcc3054.tar.zst mailman-53d4229bff96677a54fd443322c166c2bdcc3054.zip | |
Diffstat (limited to 'src/mailman/app/subscriptions.py')
| -rw-r--r-- | src/mailman/app/subscriptions.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mailman/app/subscriptions.py b/src/mailman/app/subscriptions.py index 1c6b96016..46ce549af 100644 --- a/src/mailman/app/subscriptions.py +++ b/src/mailman/app/subscriptions.py @@ -24,7 +24,6 @@ __all__ = [ ] - import uuid import logging @@ -170,6 +169,8 @@ class SubscriptionWorkflow(Workflow): pendable = Pendable( list_id=self.mlist.list_id, address=self.address.email, + hold_date=now().replace(microsecond=0).isoformat(), + token_owner=token_owner.name, ) self.token = getUtility(IPendings).add(pendable, timedelta(days=3650)) |
