diff MoinMoin/formatter/text_html.py @ 171:11740ebb136c

Removed debug prints imported from: moin--main--1.5--patch-173
author Alexander Schremmer <alex@alexanderweb.de.tla>
date Sun, 30 Oct 2005 22:32:35 +0000
parents 7dfda4ff75b7
children 88304513aa73
line wrap: on
line diff
--- a/MoinMoin/formatter/text_html.py	Sun Oct 30 22:25:59 2005 +0000
+++ b/MoinMoin/formatter/text_html.py	Sun Oct 30 22:32:35 2005 +0000
@@ -222,18 +222,14 @@
         self.pagelink_preclosed = False
         if page is None:
             page = Page(self.request, pagename, formatter=self);
-        import sys; sys.stderr.write("DEBUG - pagelink: page is %r\n" % (page))    
         if self.request.user.show_nonexist_qm and on and not page.exists():
-            import sys; sys.stderr.write("DEBUG - Calling 2x link_to(**%r)\n" % (kw))
             self.pagelink_preclosed = True
             return (page.link_to(self.request, on=1, **kw) +
                     self.text("?") +
                     page.link_to(self.request, on=0, **kw))
         elif not on and self.pagelink_preclosed:
-            import sys; sys.stderr.write("DEBUG - pagelink: was preclosed\n" )
             return ""
         else:
-            import sys; sys.stderr.write("DEBUG - pagelink: calling link_to\n" )
             return page.link_to(self.request, on=on, **kw)
 
     def interwikilink(self, on, interwiki='', pagename='', **kw):
@@ -272,7 +268,6 @@
             url = wikiutil.mapURL(self.request, url)
         title = kw.get('title', None)
         attrs = kw.get('attrs', None)
-        import sys; sys.stderr.write("DEBUG - called url. on is %r\n" % (on))
         if on:
             str = '<a'
             if css: