summaryrefslogtreecommitdiff
path: root/src/waitress/adjustments.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/waitress/adjustments.py')
-rw-r--r--src/waitress/adjustments.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/waitress/adjustments.py b/src/waitress/adjustments.py
index fb3233d..6851a7c 100644
--- a/src/waitress/adjustments.py
+++ b/src/waitress/adjustments.py
@@ -19,7 +19,6 @@ import warnings
from .proxy_headers import PROXY_HEADERS
from .compat import (
- PY2,
WIN,
string_types,
HAS_IPV6,
@@ -346,7 +345,7 @@ class Adjustments:
else:
(host, port) = (i, str(self.port))
- if WIN and PY2: # pragma: no cover
+ if WIN: # pragma: no cover
try:
# Try turning the port into an integer
port = int(port)