comparison roundup/cgi/client.py @ 1802:fe9d122f1bb1 0.6.11

Fix misnamed exception clause.
author Johannes Gijsbers <jlgijsbers@users.sourceforge.net>
date Mon, 08 Sep 2003 21:08:18 +0000
parents 9f9d35f3d8f7
children ea43cb3c157f
comparison
equal deleted inserted replaced
1801:9f9d35f3d8f7 1802:fe9d122f1bb1
1 # $Id: client.py,v 1.137 2003-09-08 21:07:29 jlgijsbers Exp $ 1 # $Id: client.py,v 1.138 2003-09-08 21:08:18 jlgijsbers Exp $
2 2
3 __doc__ = """ 3 __doc__ = """
4 WWW request handler (also used in the stand-alone server). 4 WWW request handler (also used in the stand-alone server).
5 """ 5 """
6 6
792 792
793 def standard_message(self, to, subject, body, author=None): 793 def standard_message(self, to, subject, body, author=None):
794 try: 794 try:
795 self.mailer.standard_message(to, subject, body, author) 795 self.mailer.standard_message(to, subject, body, author)
796 return 1 796 return 1
797 except MessageSendException, e: 797 except MessageSendError, e:
798 self.error_message.append(str(e)) 798 self.error_message.append(str(e))
799 799
800 def registerPermission(self, props): 800 def registerPermission(self, props):
801 ''' Determine whether the user has permission to register 801 ''' Determine whether the user has permission to register
802 802

Roundup Issue Tracker: http://roundup-tracker.org/