server/session.py
branchstable
changeset 8585 3f60f416dddb
parent 8529 1daea1f433c9
child 8596 bd4f5052a532
equal deleted inserted replaced
8584:f89fe2496146 8585:3f60f416dddb
   300             return self.__threaddata.txdata
   300             return self.__threaddata.txdata
   301         except AttributeError:
   301         except AttributeError:
   302             self.set_tx_data()
   302             self.set_tx_data()
   303             return self.__threaddata.txdata
   303             return self.__threaddata.txdata
   304 
   304 
       
   305     def get_option_value(self, option, foreid=None):
       
   306         return self.repo.get_option_value(option, foreid)
   305 
   307 
   306     def hijack_user(self, user):
   308     def hijack_user(self, user):
   307         """return a fake request/session using specified user"""
   309         """return a fake request/session using specified user"""
   308         session = Session(user, self.repo)
   310         session = Session(user, self.repo)
   309         threaddata = session._threaddata
   311         threaddata = session._threaddata