I added a function 'warn_Admin' and defined it just before another
function 'process_log'. 'process_log' calls this warn_Admin' function.
However, when it gets called i get the following error every time:
---
Traceback (most recent call last):
File "/usr/bin/denyhosts.py", line 202, in ?
fi
I added a function 'warn_Admin' and defined it just before another
function 'process_log'. 'process_log' calls this warn_Admin' function.
However, when it gets called i get the following error every time:
---
Traceback (most recent call last):
File "/usr/bin/denyhosts.py", line 202, in ?
fi
google groups told me it had a "server error" the first time i posted
this. Sorry for the dupe. Anyways the second one is more complete.
Also, I made a mistake in my vocabulary. These are methods and not
functions.
--
http://mail.python.org/mailman/listinfo/python-list
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 the
good point
--
http://mail.python.org/mailman/listinfo/python-list