Commit 1925b7d2 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki Committed by Jérome Perrin

py2/py3: remove deprecated splitport().

parent 3d077903
...@@ -11,10 +11,6 @@ import sys ...@@ -11,10 +11,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
...@@ -252,8 +248,6 @@ def runwsgi(): ...@@ -252,8 +248,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