diff MoinMoin/userprefs/oid.py @ 4168:2edbd96f3179

Replaced request.getScriptname() with a werkzeug property
author Florian Krupicka <florian.krupicka@googlemail.com>
date Mon, 16 Jun 2008 12:11:24 +0200
parents 7bfd4232cfb7
children e24aa7996f9f
line wrap: on
line diff
--- a/MoinMoin/userprefs/oid.py	Sun Jun 15 22:38:29 2008 +0200
+++ b/MoinMoin/userprefs/oid.py	Mon Jun 16 12:11:24 2008 +0200
@@ -150,7 +150,7 @@
         return
 
     def _make_form(self):
-        sn = self.request.getScriptname()
+        sn = self.request.script_root
         pi = self.request.getPathinfo()
         action = u"%s%s" % (sn, pi)
         _form = html.FORM(action=action)