At 01:53 AM 9/2/02, Richard Barrett wrote:
>At 02:17 02/09/2002 -0400, Fuzzy wrote:
>
>>On Sun, 1 Sep 2002, Bob Weissman wrote:
>>
>>> >* Paul Reilly <[EMAIL PROTECTED]> [20020901 01:20]: wrote:
>>> >> 1) when i create a new list with 'newlist -q mylist [EMAIL PROTECTED] mypass'
>>> >>    it creates the list fine, but it always changes the case of the
>>> >>    listname to uppercase. ie "mylist" becomes "Mylist".
>>>
>>> Edit Mailman/MailList.py, changing the lines
>>>         self.real_name = '%s%s' % (string.upper(self._internal_name[0]),
>>>                                    self._internal_name[1:])
>>> to
>>>         self.real_name = self._internal_name
>>>
>>> - Bob
>>
>>
>>would this do the same for mm 2.1b3?
>>
>>--- Mailman/MailList.py.orig    Mon Sep  2 01:42:15 2002
>>+++ Mailman/MailList.py Mon Sep  2 02:14:47 2002
>>@@ -297,8 +297,7 @@
>>         self.bounce_matching_headers = \
>>                 mm_cfg.DEFAULT_BOUNCE_MATCHING_HEADERS
>>         self.anonymous_list = mm_cfg.DEFAULT_ANONYMOUS_LIST
>>-        internalname = self.internal_name()
>>-        self.real_name = internalname[0].upper() + internalname[1:]
>>+        self.real_name = self.internal_name()
>>         self.description = ''
>>         self.info = ''
>>         self.welcome_msg = ''
>
>A simpler way is to just change the first (real_name) and fourth (MM 2.0.x) or sixth 
>(MM 2.1b3) (subject_prefix) fields on the web admin GUI General Options page for the 
>list.

Simpler? Not in the case where the Mailman administrator wants all lists forever after 
to not have their first characters uppercased. Changing the code once accomplishes 
this once and for all.

- Bob



------------------------------------------------------
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

Reply via email to