global name not defined

NetKev kevin at netkev.com
Mon May 22 19:32:11 EDT 2006


You are probably right and I think I will do so but just for the sake
of my understanding of python...I noticed somthing.  process_log takes
two arguments when called but it's definition has 3 and one of them is
"self".  So I'm thinking if I modify my warn_Admin definition to
include "self" and then call it from process_log with
self.warn_Admin... it will work.  This explains why I was getting the
"too many arguments" error.




More information about the Python-list mailing list