diff options
author | Bert JW Regeer <bertjw@regeer.org> | 2020-05-07 00:43:34 -0700 |
---|---|---|
committer | Bert JW Regeer <bertjw@regeer.org> | 2020-08-15 18:55:04 -0700 |
commit | 6b625826219694f791f81684b21a89de0c1d9e9b (patch) | |
tree | f50e3e7644668828a3171223cdb4dde212cb4718 /src | |
parent | 0c88f5485572da3da8f18a833090c7dc0972ae64 (diff) | |
download | waitress-6b625826219694f791f81684b21a89de0c1d9e9b.tar.gz |
Goodbye PY2
Diffstat (limited to 'src')
-rw-r--r-- | src/waitress/adjustments.py | 3 |
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) |