Download Install Tutorial Docs FAQ Tools WikiLicense Team IRC Planet Involvement Shop Book

Changeset 1733

Show
Ignore:
Timestamp:
10/01/07 17:27:48
Author:
fumanchu
Message:

Bah. isAlive is a function, not a property.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/cherrypy-3.0.x/cherrypy/wsgiserver/__init__.py

    r1700 r1733  
    971971        while self._workerThreads: 
    972972            worker = self._workerThreads.pop() 
    973             if worker is not current and worker.isAlive
     973            if worker is not current and worker.isAlive()
    974974                try: 
    975975                    worker.join() 
  • trunk/cherrypy/wsgiserver/__init__.py

    r1697 r1733  
    10361036        while self._workerThreads: 
    10371037            worker = self._workerThreads.pop() 
    1038             if worker is not current and worker.isAlive
     1038            if worker is not current and worker.isAlive()
    10391039                try: 
    10401040                    if timeout is None or timeout < 0: 
     
    10421042                    else: 
    10431043                        worker.join(timeout) 
    1044                         if worker.isAlive
     1044                        if worker.isAlive()
    10451045                            # We exhausted the timeout. 
    10461046                            # Forcibly shut down the socket. 
     
    10571057                        # See http://www.cherrypy.org/ticket/691. 
    10581058                        KeyboardInterrupt), exc1: 
    1059                     print exc1 
    10601059                    pass 
    10611060     

Hosted by WebFaction

Log in as guest/cpguest to create tickets