[Mailman-Users] bug in Mailman when accessing Private Archives

John Dennis jdennis at redhat.com
Thu Feb 17 00:32:57 CET 2005

Mark Sapiro wrote:
> Christopher Adams wrote:
>>Traceback (most recent call last):
>>  File "/lists/scripts/driver", line 80, in run_main
>>    pkg = __import__('Mailman.Cgi', globals(), locals(), [scriptname])
>>  File "/lists/Mailman/Cgi/private.py", line 43
>>     parts = path.split(SLASH)
>>     ^
>> SyntaxError: invalid syntax
> The patch at http://www.list.org/CAN-2005-0202.txt has been appied to
> private.py and it looks like it may not have been applied correctly.
> There is an issue with this patch and older versions of Python, but
> the above error doesn't look like that.

It is mostly likely incorrect white space at the beginning of the line, 
leading white space in python is significant, fix the the white space to 
match the correct indendation level.

Also some folks forgot the definition of SLASH at the top of the file, 
don't forget that or you'll discover a new problem, SLASH isn't defined
John Dennis <jdennis at redhat.com>

More information about the Mailman-Users mailing list