source code of /read/spammy.py

Last modified
Lines 18

Parent directory Download CGIread sitemap Main page

Quick links: spammy

  1. #!/usr/bin/python
  2. import sys
  3. allowed = [
  4.     "",
  5.     "Back",
  6.     "Small scripts",
  7.     "Back to the tridecane page",
  8. ]
  9. def spammy(s):
  10.     '''Return True if title is not in the allowed list of titles.'''
  11.     #sys.stderr.write(repr(s)+'\n')
  12.     #return False
  13.     #return s not in allowed
  14.     return s and (s not in allowed)