summaryrefslogtreecommitdiff
path: root/mailman/database/pending.py
diff options
context:
space:
mode:
authorBarry Warsaw2009-01-06 19:55:59 -0500
committerBarry Warsaw2009-01-06 19:55:59 -0500
commit89f5f76ed31d6ca2faf8e2a783a37e9009b03413 (patch)
treef1023f64501a49917674f5bcd78927aa5cee08ef /mailman/database/pending.py
parent37c255b7b0c1b8ea10c8d24a44c8586de86ffcc6 (diff)
downloadmailman-89f5f76ed31d6ca2faf8e2a783a37e9009b03413.tar.gz
mailman-89f5f76ed31d6ca2faf8e2a783a37e9009b03413.tar.zst
mailman-89f5f76ed31d6ca2faf8e2a783a37e9009b03413.zip
Diffstat (limited to 'mailman/database/pending.py')
-rw-r--r--mailman/database/pending.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mailman/database/pending.py b/mailman/database/pending.py
index 6fe66f5fd..dc82085a2 100644
--- a/mailman/database/pending.py
+++ b/mailman/database/pending.py
@@ -87,7 +87,7 @@ class Pendings:
verifyObject(IPendable, pendable)
# Calculate the token and the lifetime.
if lifetime is None:
- lifetime = as_timedelta(config.pending_request_life)
+ lifetime = as_timedelta(config.mailman.pending_request_life)
# Calculate a unique token. Algorithm vetted by the Timbot. time()
# has high resolution on Linux, clock() on Windows. random gives us
# about 45 bits in Python 2.2, 53 bits on Python 2.3. The time and