------------------------------------------------------------
revno: 1050
committer: Mark Sapiro <[EMAIL PROTECTED]>
branch nick: 2.1
timestamp: Sat 2008-02-23 13:43:59 -0800
message:
  MailList.py - Reversed a portion of the immediately previous change.  It
                was just more complicated and logically equivalent to the
                previous code.
modified:
  Mailman/MailList.py

=== modified file 'Mailman/MailList.py'
--- a/Mailman/MailList.py       2008-02-23 21:16:35 +0000
+++ b/Mailman/MailList.py       2008-02-23 21:43:59 +0000
@@ -1065,10 +1065,9 @@
         newaddr = Utils.LCDomain(newaddr)
         Utils.ValidateEmail(newaddr)
         # Raise an exception if this email address is already a member of the
-        # list, but only if the new address not a case change of the old
+        # list, but only if the new address is the same case-wise as the old
         # address and we're not doing a global change.
-        if not globally and not (newaddr <> oldaddr and
-              newaddr.lower() == oldaddr.lower()) and self.isMember(newaddr):
+        if not globally and newaddr == oldaddr and self.isMember(newaddr):
             raise Errors.MMAlreadyAMember
         if newaddr == self.GetListEmail().lower():
             raise Errors.MMBadEmailError



--
Stable, maintained release series
https://code.launchpad.net/~mailman-coders/mailman/2.1

You are receiving this branch notification because you are subscribed to it.
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to