server/session.py
branchstable
changeset 2874 acdd8d8c2cff
parent 2781 4e1ad9d6a3e7
child 2880 bfc8e1831290
child 2940 db2fb2907389
child 3074 141cfaac6b97
equal deleted inserted replaced
2873:51bcd8e8f65c 2874:acdd8d8c2cff
   328     @property
   328     @property
   329     def super_session(self):
   329     def super_session(self):
   330         try:
   330         try:
   331             csession = self._threaddata.childsession
   331             csession = self._threaddata.childsession
   332         except AttributeError:
   332         except AttributeError:
   333             if self.is_super_session:
   333             if isinstance(self, (ChildSession, InternalSession)):
   334                 csession = self
   334                 csession = self
   335             else:
   335             else:
   336                 csession = ChildSession(self)
   336                 csession = ChildSession(self)
   337             self._threaddata.childsession = csession
   337             self._threaddata.childsession = csession
   338         # need shared pool set
   338         # need shared pool set