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

Changeset 1113

Show
Ignore:
Timestamp:
06/01/06 10:49:53
Author:
fumanchu
Message:

Fix for #530 (CherryPyWSGIServer does not always initalize self.socket) in 2.x and trunk.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/cherrypy-2.x/cherrypy/_cpwsgiserver.py

    r1112 r1113  
    287287                self.socket.bind(self.bind_addr) 
    288288            else: 
     289                self.socket = None 
     290                msg = "No socket could be created" 
    289291                for res in info: 
    290292                    af, socktype, proto, canonname, sa = res 
  • trunk/cherrypy/_cpwsgiserver.py

    r1112 r1113  
    287287                self.socket.bind(self.bind_addr) 
    288288            else: 
     289                self.socket = None 
     290                msg = "No socket could be created" 
    289291                for res in info: 
    290292                    af, socktype, proto, canonname, sa = res 

Hosted by WebFaction

Log in as guest/cpguest to create tickets