INN commit: branches/2.4/doc/pod (hook-python.pod)
INN Commit
Russ_Allbery at isc.org
Sun Jun 22 20:33:41 UTC 2008
Date: Sunday, June 22, 2008 @ 13:33:41
Author: iulius
Revision: 7900
Typo (canceled -> cancelled).
Modified:
branches/2.4/doc/pod/hook-python.pod
-----------------+
hook-python.pod | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Modified: hook-python.pod
===================================================================
--- hook-python.pod 2008-06-22 18:22:07 UTC (rev 7899)
+++ hook-python.pod 2008-06-22 20:33:41 UTC (rev 7900)
@@ -258,9 +258,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
@@ -275,8 +275,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