1. Michael Merickel
  2. PasteScript

Commits

ianb  committed cbaf575

Fixed some use of ensure_port_cleanup(); not even sure I should use that function at all

  • Participants
  • Parent commits e356c2f
  • Branches default

Comments (0)

Files changed (1)

File paste/script/flup_server.py

View file
     else:
         assert host is not None and port is not None
         sock = (host, port)
-    ensure_port_cleanup(sock)
+    ensure_port_cleanup([sock])
     s = flup.server.fcgi_fork.WSGIServer(
         wsgi_app,
         bindAddress=sock,
                     allowedServers='127.0.0.1'):
     import flup.server.scgi
     addr = (host, int(port))
-    ensure_port_cleanup(addr)
+    ensure_port_cleanup([addr])
     s = flup.server.scgi.WSGIServer(
         wsgi_app,
         scriptName=scriptName,
                   allowedServers='127.0.0.1'):
     import flup.server.scgi_fork
     addr = (host, int(port))
-    ensure_port_cleanup(addr)
+    ensure_port_cleanup([addr])
     s = flup.server.scgi_fork.WSGIServer(
         wsgi_app,
         scriptName=scriptName,