source code of /read/spammy.py
Last modified | |
Lines | 18 |
Parent directory Download CGIread sitemap Main page
Quick links: spammy
#!/usr/bin/python
import sys
allowed = [
"",
"Back",
"Small scripts",
"Back to the tridecane page",
]
def spammy(s):
'''Return True if title is not in the allowed list of titles.'''
#sys.stderr.write(repr(s)+'\n')
#return False
#return s not in allowed
return s and (s not in allowed)