[server/repo] kill repo.pinfo()
authorJulien Cristau <julien.cristau@logilab.fr>
Wed, 29 Jul 2015 10:18:56 +0200
changeset 10579 9af9d59a1972
parent 10578 c70606673384
child 10580 5fbdbbe51867
[server/repo] kill repo.pinfo() session.cnxset is dead, this can't work.
server/repository.py
--- a/server/repository.py	Wed Jul 29 10:18:23 2015 +0200
+++ b/server/repository.py	Wed Jul 29 10:18:56 2015 +0200
@@ -387,13 +387,6 @@
     def _free_cnxset(self, cnxset):
         self._cnxsets_pool.put_nowait(cnxset)
 
-    def pinfo(self):
-        # XXX: session.cnxset is accessed from a local storage, would be interesting
-        #      to see if there is a cnxset set in any thread specific data)
-        return '%s: %s (%s)' % (self._cnxsets_pool.qsize(),
-                                ','.join(session.user.login for session in self._sessions.itervalues()
-                                         if session.cnxset),
-                                threading.currentThread())
     def shutdown(self):
         """called on server stop event to properly close opened sessions and
         connections