Changeset 1316
- Timestamp:
- 09/02/06 04:06:27
- Files:
-
- branches/cherrypy-2.x/cherrypy/_cpserver.py (modified) (1 diff)
- trunk/cherrypy/_cpserver.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/cherrypy-2.x/cherrypy/_cpserver.py
r1004 r1316 100 100 101 101 if not host: 102 host = ' localhost'102 host = '0.0.0.0' 103 103 on_what = "http://%s:%s/" % (host, port) 104 104 else: trunk/cherrypy/_cpserver.py
r1304 r1316 100 100 if isinstance(bind_addr, tuple): 101 101 wait_for_free_port(*bind_addr) 102 on_what = "http://%s:%s/" % bind_addr 102 host, port = bind_addr 103 if not host: 104 host = '0.0.0.0' 105 on_what = "http://%s:%s/" % (host, port) 103 106 else: 104 107 on_what = "socket file: %s" % bind_addr

