I made some changes to a .py file and then restarted mailman with

/usr/local/mailman/bin/mailmanctl restart

however, the .pyc file did not get updated as its timestamp didn't change:

# ls -lshtr Mailman/Handlers/Spam*    
 6 -rw-r--r--  1 root  mailman   4.4K Apr 24  2010 
Mailman/Handlers/SpamDetect.pyc
 6 -rw-r--r--  1 root  mailman   4.9K May  4 08:58 
Mailman/Handlers/SpamDetect.py

the change was simple, just added some text to the Errors.RejectMessage

(Mailman-2.1.12)

So, it looks like mm_cfg.py is the only .py that gets recompiled automatically, 
right? So how do I recompile SpamDetect.py after making my changes?

-- 
<http://img.ly/system/uploads/000/780/083/large_IMG_0710.PNG?1300988642>

------------------------------------------------------
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

Reply via email to