self.clients instead of self.client
authorMark Slee <mcslee@apache.org>
Tue, 24 Oct 2006 18:55:36 +0000 (18:55 +0000)
committerMark Slee <mcslee@apache.org>
Tue, 24 Oct 2006 18:55:36 +0000 (18:55 +0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664834 13f79535-47bb-0310-9956-ffa450edef68

lib/py/src/server/TServer.py

index fb7100b..56ee9c0 100644 (file)
@@ -88,7 +88,7 @@ class TThreadPoolServer(TServer):
     """Loop around getting clients from the shared queue and process them."""
     while True:
       try:
-        client = self.client.get()
+        client = self.clients.get()
         self.serveClient(client)
       except Exception, x:
         print '%s, %s, %s' % (type(x), x, traceback.format_exc())