Charles Marcus wrote: > >And here's the customized block in Hold.py: > >(Hmmm... did something weird happen when I copy/pasted after the last >update? Are there supposed to be dbl underscores (__) there?)
Yes, the __ are correct. >Beginning at line 93: >class MessageTooBig(Errors.HoldMessage): > def __init__(self, msgsize, limit): > self.__msgsize = msgsize > self.__limit = limit > > def reason_notice(self): > size = self.__msgsize > limit = self.__limit > return _('''Your message (or the attachment) is too big. > >This list has a size limit of %(limit)d KB. Messages larger than this will >require moderator intervention before it will be forwarded to our Sales >Staff.''') > > def rejection_notice(self, mlist): > kb = self.__limit > return _('''Your message was too big; please trim it to less than >%(limit)d KB in size.''') I din't know why you changed the above line, but the problem is where you have %(limit)d KB in size.''') it needs to be %(kb)d KB in size.''') as it was in the original. -- Mark Sapiro <[EMAIL PROTECTED]> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9