[Mailman-Users] Dumb Me Tried to Update Mandriva (Again)

Mark Sapiro mark at msapiro.net
Wed May 2 16:06:07 CEST 2012


Mark Sapiro wrote:
>
>It appears your system Python is now different from the one that
>compiled all the .pyc files. Just do
>
>
>  rm -r /path/to/Mailman/*.pyc


I responded without really thinking. I don't think that will work
completely. It will remove the .pyc files immediately subordinate the
Mailman/, but not any deeper ones. For that you need something like

  find /path/to/Mailman -name "*.pyc" -exec rm "{}" \;

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Users mailing list