changeset 910:1730c8e75ade

use self.log instead stderr in request
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Fri, 07 Jul 2006 22:33:18 +0200
parents 3680f8b5066f
children d2f07ff64b78
files MoinMoin/request/__init__.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/request/__init__.py	Fri Jul 07 22:26:06 2006 +0200
+++ b/MoinMoin/request/__init__.py	Fri Jul 07 22:33:18 2006 +0200
@@ -757,7 +757,7 @@
                     d = d.encode(config.charset, 'replace')
                 wd.append(d)
             except UnicodeError:
-                print >>sys.stderr, "Unicode error on: %s" % repr(d)
+                self.log("Unicode error on: %s" % repr(d))
         return ''.join(wd)
 
     def decodePagename(self, name):