~msapiro/mailman/topics

« back to all changes in this revision

Viewing changes to Mailman/Cgi/subscribe.py

  • Committer: Mark Sapiro
  • Date: 2010-07-03 20:56:47 UTC
  • mfrom: (1006.3.2 2.2)
  • mto: (1006.1.254 2.2)
  • mto: This revision was merged to the branch mainline in revision 1022.
  • Revision ID: mark@msapiro.net-20100703205647-rdmmmctwensqq10v
Merged optional Sender: header feature from lp:~mss/mailman/2.2-sender-header.

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
        safelistname = Utils.websafe(listname)
61
61
        doc.AddItem(Header(2, _("Error")))
62
62
        doc.AddItem(Bold(_('No such list <em>%(safelistname)s</em>')))
 
63
        # Send this with a 404 status.
 
64
        print 'Status: 404 Not Found'
63
65
        print doc.Format()
64
66
        syslog('error', 'No such list "%s": %s\n', listname, e)
65
67
        return