[connection] give access to session execute from connection
This allows multiple function that both requires an execute method and are
required by the execute method.
--- a/server/session.py Thu May 23 14:17:46 2013 +0200
+++ b/server/session.py Wed May 15 16:09:31 2013 +0200
@@ -431,6 +431,10 @@
# other session utility
self.user = session.user # XXX migrate to self._set_user when
self.lang = session.lang # Connection gain execute
+ self.execute = session.execute # temporary hack until all necessary
+ # function have been migrated. Most of
+ # those function requires an execute
+ # method and execute requires them too.
#: connection handling mode
self.mode = session.default_mode