INN commit: branches/2.4/doc (hook-python)
INN Commit
Russ_Allbery at isc.org
Mon Jun 23 20:49:34 UTC 2008
Date: Monday, June 23, 2008 @ 13:49:33
Author: iulius
Revision: 7912
Update the auto-generated documentation for INN 2.4.5.
Modified:
branches/2.4/doc/hook-python
-------------+
hook-python | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Modified: hook-python
===================================================================
--- hook-python 2008-06-23 19:59:52 UTC (rev 7911)
+++ hook-python 2008-06-23 20:49:33 UTC (rev 7912)
@@ -243,9 +243,9 @@
# local server; it doesn't send out a control message or anything
# scary like that. Returns 1 if successful, else 0.
if INN.cancel('<meow$123.456 at solvangpastries.edu>'):
- canceled = "yup"
+ cancelled = "yup"
else:
- canceled = "nope"
+ cancelled = "nope"
# Check if a given message is in history. This doesn't
# necessarily mean the article is on your spool; cancelled and
@@ -260,8 +260,8 @@
# Here we are running a local spam filter, so why eat all those
# cancels? We can add fake entries to history so they'll get
# refused. Returns 1 on success, 0 on failure.
- canceled_id = buffer('<meow$123.456 at isc.org>')
- if INN.addhist("<cancel." + canceled_id[1:]):
+ cancelled_id = buffer('<meow$123.456 at isc.org>')
+ if INN.addhist("<cancel." + cancelled_id[1:]):
thought = "Eat my dust, roadkill!"
else:
thought = "Darn, someone beat me to it."
More information about the inn-committers
mailing list