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

Commit 0697c07

Browse files
author
ex3me0
authored
Fixed according to PEP (79 chars)
1 parent 8d64797 commit 0697c07

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

hyper/http11/parser.py

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

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

0 commit comments

Comments
 (0)