Skip to content

Commit 96ba50d

Browse files
committed
Wrap the lines
1 parent 4b8786f commit 96ba50d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Lib/http/server.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,14 +158,17 @@ def __init__(self, server_address, RequestHandlerClass,
158158
try:
159159
import ssl
160160
except ImportError:
161-
raise RuntimeError("SSL module is missing; HTTPS support is unavailable")
161+
raise RuntimeError("SSL module is missing; "
162+
"HTTPS support is unavailable")
162163

163164
self.ssl = ssl
164165
self.certfile = certfile
165166
self.keyfile = keyfile
166167
self.password = password
167168
# Support by default HTTP/1.1
168-
self.alpn_protocols = ["http/1.1"] if alpn_protocols is None else alpn_protocols
169+
self.alpn_protocols = (
170+
["http/1.1"] if alpn_protocols is None else alpn_protocols
171+
)
169172

170173
super().__init__(server_address, RequestHandlerClass, bind_and_activate)
171174

0 commit comments

Comments
 (0)