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

Commit ed270c0

Browse files
author
ex3me0
authored
Fixed line continuation according to PEP
1 parent a690458 commit ed270c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hyper/http11/parser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ def parse_response(self, buffer):
4949
if index == -1:
5050
return None
5151

52-
version, status, reason = \
53-
(temp_buffer[0:index].split(None, 2) + [b''])[:3]
52+
version, status, reason = (
53+
temp_buffer[0:index].split(None, 2) + [b''])[:3]
5454
if not version.startswith(b'HTTP/1.'):
5555
raise ParseError("Not HTTP/1.X!")
5656

0 commit comments

Comments
 (0)