[CMF-checkins] CVS: Products/CMF - CMFWikiPage.py:1.12

klm@cvs.baymountain.com klm@cvs.baymountain.com
Wed, 18 Jul 2001 20:02:31 -0400


Update of /cvs-repository/Products/CMFWiki
In directory cvs.baymountain.com:/tmp/cvs-serv20111

Modified Files:
	CMFWikiPage.py 
Log Message:
(Slightly gratuitous) refinement of a comment, to test adjustment of
the CVS commit notification diff mechanism.



====== Updated Products/CMF/CMFWikiPage.py to v 1.12 ======
             if not hasattr(obj, 'absolute_url'):
                 # Whoops!  Probly an acquired method, which we do *not* want
-                # to shadow (or people could create infinite recursions).
+                # want to link, and which we do *not* want to allow being
+                # shadowed by a wiki page.
                 return '%s<font color="red"><sup>x</sup></font>' % m
             # Obtained by acquisition - make sure to use the real URL:
             return '<a href="%s">%s</a>' % (obj.absolute_url(), m)
@@ -380,8 +381,9 @@
             # Obtained by acquisition - make sure to use the real URL:
             obj = getattr(folder, m)
             if not hasattr(obj, 'absolute_url'):
-                # Whoops!  Probly an acquired method, which we do *not* want
-                # to shadow (or people could create infinite recursions).
+                # Whoops!  Probly an acquired method, to which we do *not*
+                # want to link, and which we do *not* want to allow being
+                # shadowed by a wiki page.
                 return '%s<font color="red"><sup>x</sup></font>' % m + e
             return '<a href="%s">%s</a>' % (obj.absolute_url(), m) + e