[connection] mark Connection as "not a request"
authorPierre-Yves David <pierre-yves.david@logilab.fr>
Tue, 25 Jun 2013 17:10:52 +0200
changeset 9085 af6085c9ac69
parent 9084 e8e4dfc97670
child 9086 1084843ab2cb
[connection] mark Connection as "not a request" The ORM use this information. Having a wrong value will lead to crash.
server/session.py
--- a/server/session.py	Tue Jun 25 14:04:46 2013 +0200
+++ b/server/session.py	Tue Jun 25 17:10:52 2013 +0200
@@ -416,6 +416,8 @@
 
     """
 
+    is_request = False
+
     def __init__(self, cnxid, session, rewriter):
         # using super(Connection, self) confuse some test hack
         RequestSessionBase.__init__(self, session.vreg)