Skip to content

Commit 86b1b79

Browse files
authored
Clean up blank lines in SSL context code
Removed unnecessary blank lines in the SSL context setup.
1 parent 500c446 commit 86b1b79

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Lib/logging/handlers.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1131,17 +1131,17 @@ def emit(self, record):
11311131
if self.username:
11321132
if self.secure is not None:
11331133
import ssl
1134-
1134+
11351135
try:
11361136
keyfile = self.secure[0]
11371137
except IndexError:
11381138
keyfile = None
1139-
1139+
11401140
try:
11411141
certfile = self.secure[1]
11421142
except IndexError:
11431143
certfile = None
1144-
1144+
11451145
context = ssl._create_stdlib_context(
11461146
certfile=certfile, keyfile=keyfile
11471147
)

0 commit comments

Comments
 (0)