X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=wrw%2Fdispatch.py;fp=wrw%2Fdispatch.py;h=5a7bda0614bdd3d94ec8b3b3fe577089e5fccaa0;hb=d7604bee761fb76faf0f70e26c946dae83ebc68e;hp=d428a77ce5f503ae871b3e8eb8d2f2874d22544c;hpb=13b37ed32a4a376d2d6e89f5fa9eb97da5146cb7;p=wrw.git diff --git a/wrw/dispatch.py b/wrw/dispatch.py index d428a77..5a7bda0 100644 --- a/wrw/dispatch.py +++ b/wrw/dispatch.py @@ -21,7 +21,7 @@ def handle(req, startreq, handler): resp = handler(req) break except restart, i: - handler = i + handler = i.handle req.commit(startreq) return resp finally: