On 05/14/2014 08:20 AM, Bill Christensen wrote: > Thanks. > > Running the patch I got: > > patching file /path/to/mailman/Mailman/Cgi/subscribe.py > patch unexpectedly ends in middle of line > Hunk #1 succeeded at 53 with fuzz 1 (offset -1 lines). > > (with the actual path in there)
The patch got munged in editing, but that may or may not be an issue. > When trying to run a subscription I got the "We hit a bug" error. > > Error log says (among other stuff): > > admin(12818): File "/opt/local/share/mailman/Mailman/Cgi/subscribe.py", > line 56 > if listname = 'problem_list': > ^ > SyntaxError: invalid syntax > > where 'problem_list' had been replaced by the actual list name. Sorry, that's my mistake. It should be if listname == 'problem_list': i.e., ==, not =. > Comparing subscribe.py with subscribe.py.bak, it appears that it's in there > as written. Then whatever the "patch unexpectedly ends in middle of line" issue was, the result is probably OK. Just change the = to == and it should be OK. -- 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 https://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: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org