Commits

Anonymous committed 1f15d6b

Ports need to be int'd

Comments (0)

Files changed (1)

paste/script/flup_server.py

         sock = socket
     else:
         assert host is not None and port is not None
-        sock = (host, port)
+        sock = (host, int(port))
     ensure_port_cleanup([sock])
     s = flup.server.fcgi.WSGIServer(
         wsgi_app,
         sock = socket
     else:
         assert host is not None and port is not None
-        sock = (host, port)
+        sock = (host, int(port))
     ensure_port_cleanup([sock])
     s = flup.server.fcgi_fork.WSGIServer(
         wsgi_app,