server/session.py
changeset 5201 2b4267157f85
parent 5174 78438ad513ca
parent 5193 c9671feff5e2
child 5238 31c12863fd9d
equal deleted inserted replaced
5196:d14bfd477c44 5201:2b4267157f85
   951 
   951 
   952 
   952 
   953 class InternalSession(Session):
   953 class InternalSession(Session):
   954     """special session created internaly by the repository"""
   954     """special session created internaly by the repository"""
   955     is_internal_session = True
   955     is_internal_session = True
       
   956     running_dbapi_query = False
   956 
   957 
   957     def __init__(self, repo, cnxprops=None):
   958     def __init__(self, repo, cnxprops=None):
   958         super(InternalSession, self).__init__(InternalManager(), repo, cnxprops,
   959         super(InternalSession, self).__init__(InternalManager(), repo, cnxprops,
   959                                               _id='internal')
   960                                               _id='internal')
   960         self.user.req = self # XXX remove when "vreg = user.req.vreg" hack in entity.py is gone
   961         self.user.req = self # XXX remove when "vreg = user.req.vreg" hack in entity.py is gone