[Mailman-Users] Small bugfix against mailman-1.0b9

Richard B. Pyne rpyne at kinfolk.org
Fri Mar 26 16:08:11 CET 1999


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Here is another minor bugfix:

- -----------------------------------------------------------------
*** Mailman/Cgi/admin.py.orig	Sat Feb 27 17:29:04 1999
- --- Mailman/Cgi/admin.py	Sun Mar 21 18:19:55 1999
***************
*** 299,305 ****
      doc.AddItem(form)
  
      form.AddItem("Make your changes below, and then submit them 
using the"
!                  " bottom at the bottom.  (You can change your
password"
                   " there, too.)<p>")
  
      form.AddItem(FormatOptionsSection(category, lst))
- --- 299,305 ----
      doc.AddItem(form)
  
      form.AddItem("Make your changes below, and then submit them 
using the"
!                  " button at the bottom.  (You can change your
password"
                   " there, too.)<p>")
  
      form.AddItem(FormatOptionsSection(category, lst))
- ----------------------------------------------------------------

And here is the patch for using the "From:" header instead of the 
Envelope Sender:


- -----------------------------------------------------------------
*** Mailman/MailList.py.orig	Sat Feb 27 17:26:01 1999
- --- Mailman/MailList.py	Tue Mar 23 17:03:29 1999
***************
*** 1021,1029 ****
          msgapproved = self.ExtractApproval(msg)
          if not approved:
              approved = msgapproved
!         sender = msg.GetEnvelopeSender()
          if not sender:
!             sender = msg.GetSender()
  	# If it's the admin, which we know by the approved variable,
  	# we can skip a large number of checks.
  	if not approved:
- --- 1021,1029 ----
          msgapproved = self.ExtractApproval(msg)
          if not approved:
              approved = msgapproved
!         sender = msg.GetSender()
          if not sender:
!             sender = msg.GetEnvelopeSender()
  	# If it's the admin, which we know by the approved variable,
  	# we can skip a large number of checks.
  	if not approved:
- ------------------------------------------------------------------



-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.50 

iQA/AwUBNvui2il+zx7+ConoEQI9XgCgoTCDL3y+l3FENqjeZPfqQTcPJUgAoObJ
9OWHALV/UCPwOu/+vWdeosrW
=O+Tj
-----END PGP SIGNATURE-----
------------------------------
Richard B. Pyne, KB7RMU
rpyne at kinfolk.org
http://pyne.kinfolk.org/rbp2





More information about the Mailman-Users mailing list