Commit 6b7eb2ea authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki Committed by Jérome Perrin

py2/py3: remove deprecated splitport().

parent 48773f36
......@@ -11,10 +11,6 @@ import sys
from tempfile import TemporaryFile
import time
from six.moves.urllib.parse import quote
try:
from urllib import splitport
except ImportError: # six.PY3
from urllib.parse import splitport
from waitress.server import create_server
import ZConfig
......@@ -252,8 +248,6 @@ def runwsgi():
interval=args.timerserver_interval,
)
ip, port = splitport(args.address)
port = int(port)
createServer(
app_wrapper(
large_file_threshold=args.large_file_threshold,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment