We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff6d141 commit 8fe12ccCopy full SHA for 8fe12cc
src/aws_encryption_sdk/streaming_client.py
@@ -235,7 +235,7 @@ def read(self, b=-1):
235
if not self._message_prepped:
236
self._prep_message()
237
238
- if self.closed:
+ if self.closed: # dynamic values confuse pylint: disable=using-constant-test
239
raise ValueError("I/O operation on closed file")
240
241
if b >= 0:
@@ -292,7 +292,7 @@ def __iter__(self):
292
def next(self):
293
"""Provides hook for Python2 iterator functionality."""
294
_LOGGER.debug("reading next")
295
296
_LOGGER.debug("stream is closed")
297
raise StopIteration()
298
0 commit comments