chiark / gitweb /
REORG Delete everything that's not innduct or build system or changed for innduct
[innduct.git] / samples / INN.py
diff --git a/samples/INN.py b/samples/INN.py
deleted file mode 100644 (file)
index 964ad34..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-##  $Id: INN.py 7897 2008-06-22 18:04:31Z iulius $
-##
-##  This module supplies stub Python functions corresponding to the ones
-##  provided by innd.  It is not used by the server; it is only here so
-##  that you can test your filter scripts before loading.
-##  See the INN Python Filtering and Authentication Hooks documentation
-##  for more information.
-
-from types import *
-
-def set_filter_hook(anObject):
-    if type(anObject) == InstanceType:
-        print "** set_filter_hook for " + repr(anObject)
-    else:
-        print "** <Your object is not a class instance.>"
-
-def addhist(messageid):
-    print "** addhist Message-ID: " + messageid
-
-def havehist(messageid):
-    print "** havehist Message-ID: " + messageid
-
-def cancel(messageid):
-    print "** cancel Message-ID: " + messageid
-
-def newsgroup(groupname):
-    print "** newsgroup: " + groupname
-
-def head(messageid):
-    print "** head Message-ID: " + messageid
-
-def article(messageid):
-    print "** article Message-ID: " + messageid
-
-def hashstring(mystring):
-    print "** hash: " + mystring
-
-def syslog(level, message):
-    print "-- syslog level: %s message: %s" % (level, message)