Inserted __future__ import of with_statement to be Jython (that is, 2.5) compatible.
[wrw.git] / wrw / util.py
index d7b52cb..7276607 100644 (file)
@@ -1,3 +1,4 @@
+from __future__ import with_statement
 import inspect
 import req, dispatch, session, form
 
@@ -174,7 +175,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: