def get_torrent_collecting_max_torrents(self):
     self.sesslock.acquire()
     try:
         return SessionConfigInterface.get_torrent_collecting_max_torrents(self)
     finally:
         self.sesslock.release()
 def get_torrent_collecting_max_torrents(self):
     self.sesslock.acquire()
     try:
         return SessionConfigInterface.get_torrent_collecting_max_torrents(self)
     finally:
         self.sesslock.release()