1 ## $Id: nnrpd.py 7897 2008-06-22 18:04:31Z iulius $
3 ## This module supplies stub Python functions corresponding to the ones
4 ## provided by nnrpd. It is not used by the server; it is only here so
5 ## that you can test your filter scripts before loading.
6 ## See the INN Python Filtering and Authentication Hooks documentation
7 ## for more information.
11 def set_auth_hook(anObject):
12 if type(anObject) == InstanceType:
13 print "** set_auth_hook for " + repr(anObject)
15 print "** <Your object is not a class instance.>"
17 def syslog(level, message):
18 print "-- syslog level: %s message: %s" % (level, message)