diff options
author | yoochan <yota.news@gmail.com> | 2015-01-06 10:45:29 +0000 |
---|---|---|
committer | yoochan <yota.news@gmail.com> | 2015-01-06 10:45:29 +0000 |
commit | 2b4c106f5bf745c31a193e751a5dd3b7cc0bfd45 (patch) | |
tree | ba9cbe7e8055e94678bb0758f758cb0418ec038a | |
parent | 03eb4d54f021e4b8db6fa7b5266ad3907df17187 (diff) | |
download | cherrypy-2b4c106f5bf745c31a193e751a5dd3b7cc0bfd45.tar.gz |
servers.py edited online with Bitbucket (doctring of ServerAdapter corrected for proper formating of code)
-rw-r--r-- | cherrypy/process/servers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cherrypy/process/servers.py b/cherrypy/process/servers.py index 6e4694ec..6f8088bd 100644 --- a/cherrypy/process/servers.py +++ b/cherrypy/process/servers.py @@ -124,7 +124,7 @@ class ServerAdapter(object): If you need to start more than one HTTP server (to serve on multiple ports, or protocols, etc.), you can manually register each one and then - start them all with bus.start: + start them all with bus.start:: s1 = ServerAdapter(bus, MyWSGIServer(host='0.0.0.0', port=80)) s2 = ServerAdapter(bus, another.HTTPServer(host='127.0.0.1', SSL=True)) |