Commit 1c2e95f7 authored by Vincent Pelletier's avatar Vincent Pelletier

caucase.http_wsgibase: Use less surprising attribute access pattern.

Silences a pylint warning.
parent 37e6a4f7
...@@ -55,7 +55,7 @@ class ChunkedFile(ProxyFile): ...@@ -55,7 +55,7 @@ class ChunkedFile(ProxyFile):
result = b'' result = b''
if not self._at_eof: if not self._at_eof:
readline = self.readline readline = self.readline
read = self.__getattr__('read') read = self._actual_file.read
while True: while True:
if self._chunk_remaining_length: if self._chunk_remaining_length:
chunk_length = self._chunk_remaining_length chunk_length = self._chunk_remaining_length
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment