Commits

Thomas Waldmann committed 812d72a

fix werkzeug monkeypatch, must use % operator as it also gets a format string for %

  • Participants
  • Parent commits c396343

Comments (0)

Files changed (1)

MoinMoin/util/monkeypatch.py

 class BaseRequestHandler(werkzeug.serving.BaseRequestHandler):
     def log(self, type, message, *args):
         _log(type, "{0} {1}\n".format(self.address_string(),
-                                message.format(args)))
+                                message % args))
 
 werkzeug.serving.BaseRequestHandler = BaseRequestHandler
 werkzeug.serving.WSGIRequestHandler = BaseRequestHandler