------------------------------------------------------------
revno: 1050
committer: Mark Sapiro <[email protected]>
branch nick: 2.2
timestamp: Sun 2009-03-15 12:42:23 -0700
message:
UserDesc instance returned by Pending._update() needed more attributes.
modified:
Mailman/Pending.py
=== modified file 'Mailman/Pending.py'
--- Mailman/Pending.py 2009-03-14 22:13:15 +0000
+++ Mailman/Pending.py 2009-03-15 19:42:23 +0000
@@ -175,11 +175,14 @@
# separate, but require the prepending of a record type indicator. We
# know that the only things that were kept in the old format were
# subscription requests. Also, the old request format didn't have the
- # subscription language so we leave it as None in the UserDesc and
- # confirmation processing will take care of it.
+ # subscription language. Best we can do here is use the server
+ # default. We also need a fullname because confirmation processing
+ # references all those UserDesc attributes.
ud = UserDesc.UserDesc(address=data[0],
+ fullname = '',
password=data[1],
digest=data[2],
+ lang=mm_cfg.DEFAULT_SERVER_LANGUAGE,
)
db[cookie] = (SUBSCRIPTION, ud)
# The old database format kept the timestamp as the time the request
--
Active development version (web u/i update)
https://code.launchpad.net/~mailman-coders/mailman/2.2
Your team Mailman Checkins is subscribed to branch lp:mailman/2.2.
To unsubscribe from this branch go to
https://code.launchpad.net/~mailman-coders/mailman/2.2/+edit-subscription.
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe:
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org