Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

Commit 52ad691

Browse files
committed
Parenthesised style.
1 parent b966664 commit 52ad691

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hyper/contrib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def get_connection(self, host, port, scheme):
3232
Gets an appropriate HTTP/2 connection object based on host/port/scheme
3333
tuples.
3434
"""
35-
secure = scheme == 'https'
35+
secure = (scheme == 'https')
3636

3737
if port is None:
3838
port = 80 if not secure else 443

0 commit comments

Comments
 (0)