some minor improvements
authorhaftmann
Tue, 28 Jun 2005 11:59:38 +0200
changeset 16577 19eff9bc7eee
parent 16576 9ce0be075e6a
child 16578 b434de794092
some minor improvements
Admin/website/build/pypager.py
--- a/Admin/website/build/pypager.py	Tue Jun 28 11:58:56 2005 +0200
+++ b/Admin/website/build/pypager.py	Tue Jun 28 11:59:38 2005 +0200
@@ -332,7 +332,7 @@
         for tagname, attrname in ((u"a", u"href"), (u"img", u"src"), (u"link", u"href")):
             if name == tagname:
                 attrs = self.transformAbsPath(attrs, attrname)
-        if self.spamprotect and name == u"a":
+        if self._spamprotect and name == u"a":
             value = attrs.get(u"href")
             if value and value.startswith(u"mailto:"):
                 attrs = dict(attrs)