Commit 7f6ab690 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki Committed by Jérome Perrin

py2/py3: remove deprecated splitport().

parent 900de6a3
...@@ -10,10 +10,6 @@ import sys ...@@ -10,10 +10,6 @@ import sys
from tempfile import TemporaryFile from tempfile import TemporaryFile
import time import time
from six.moves.urllib.parse import quote 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 from waitress.server import create_server
import ZConfig import ZConfig
...@@ -245,8 +241,6 @@ def runwsgi(): ...@@ -245,8 +241,6 @@ def runwsgi():
interval=args.timerserver_interval, interval=args.timerserver_interval,
) )
ip, port = splitport(args.address)
port = int(port)
createServer( createServer(
app_wrapper( app_wrapper(
large_file_threshold=args.large_file_threshold, 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