X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=wrw%2Futil.py;h=6368b18f198eb65fe3cc024fcd4747a40b3aa78e;hb=7450e2fcc553f66844b34d5c062a965b8fca28c5;hp=d7b52cb17fbae633c5ed4bee2c161d606ef82aaf;hpb=df5f786840523bc4faf8e0f2168df0d3b2638473;p=wrw.git diff --git a/wrw/util.py b/wrw/util.py index d7b52cb..6368b18 100644 --- a/wrw/util.py +++ b/wrw/util.py @@ -3,7 +3,7 @@ import req, dispatch, session, form def wsgiwrap(callable): def wrapper(env, startreq): - return dispatch.handle(req.origrequest(env), startreq, callable) + return dispatch.handleenv(env, startreq, callable) return wrapper def formparams(callable): @@ -174,7 +174,6 @@ class specdirty(sessiondata): ss = specslot.slist(self) for i, nm in enumerate(type(self).__sslots_a__): bound, val = st.pop(nm, (False, None)) - print i, nm, bound, val if not bound: ss[i] = specslot.unbound else: