summaryrefslogtreecommitdiff
path: root/lorry-controller-webapp
diff options
context:
space:
mode:
Diffstat (limited to 'lorry-controller-webapp')
-rwxr-xr-xlorry-controller-webapp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lorry-controller-webapp b/lorry-controller-webapp
index 2ed601c..ee573a2 100755
--- a/lorry-controller-webapp
+++ b/lorry-controller-webapp
@@ -210,14 +210,14 @@ class WEBAPP(cliapp.Application):
class DebugServer(wsgiref.simple_server.WSGIServer):
'''WSGI-like server that uses an ephemeral port.
-
+
Rather than use a specified port, or default, the
DebugServer connects to an ephemeral port and writes
its number to debug-port-file, so a non-racy temporary
port can be used.
-
+
'''
-
+
def __init__(self, (host, port), *args, **kwargs):
wsgiref.simple_server.WSGIServer.__init__(
self, (host, 0), *args, **kwargs)