Jeff Johnson wrote: > >I did edit the source as follows: > text += Utils.maketext( > 'subscribeack.txt', > {'real_name' : self.real_name, > 'host_name' : self.host_name, > 'welcome' : welcome, > 'umbrella' : umbrella, > 'emailaddr' : self.GetListEmail(), > 'listinfo_url': self.GetScriptURL('listinfo', absolute=True), > 'optionsurl' : self.GetOptionsURL(name, absolute=True), > 'password' : password, > 'user' : self.getMemberCPAddress(name), > 'username' : self.getMemberName(),
And if you look at what you quoted from me below, you'll see the above needs to be 'username' : self.getMemberName(name), > }, lang=pluser, mlist=self) [...] >On Jun 8, 2010, at 11:31 PM, Mark Sapiro wrote: > >> Mark Sapiro wrote: >>> >>> If you can patch the code, you could make %(username)s work by adding >>> >>> 'username' : self.getMemberName(), >>> >>> to the dictionary passed to Utils.maketext() in the definition of the >>> SendSubscribeAck() method of the Deliverer class in >>> Mailman/Deliverer.py. >> >> >> Ooops! That should be >> >> 'username' : self.getMemberName(name), >> >> Sorry for any confusion. -- Mark Sapiro <m...@msapiro.net> 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 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org