# HG changeset patch # User RĂ©mi Cardona # Date 1435843983 -7200 # Node ID 9d2416a504d39d017b813911ef72123ed8a2c25b # Parent 7f15552b74633f045c12c8c27270d901123b2585 [server/session] bring anonymous_connection back Fixes cubicweb-comment. diff -r 7f15552b7463 -r 9d2416a504d3 server/session.py --- a/server/session.py Thu Jul 02 15:31:48 2015 +0200 +++ b/server/session.py Thu Jul 02 15:33:03 2015 +0200 @@ -472,6 +472,10 @@ def ensure_cnx_set(self): yield + @property + def anonymous_connection(self): + return self.session.anonymous_session + # Entity cache management ################################################# # # The connection entity cache as held in cnx.transaction_data is removed at the