We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c83a818 commit a4f4df7Copy full SHA for a4f4df7
src/aws_encryption_sdk/internal/utils/streams.py
@@ -41,18 +41,18 @@ class TeeStream(ObjectProxy):
41
:type tee: io.BaseIO
42
"""
43
44
- __tee__ = None # Prime ObjectProxy's attributes to allow setting in init.
+ __tee = None # Prime ObjectProxy's attributes to allow setting in init.
45
46
def __init__(self, wrapped, tee):
47
"""Creates the local tee stream."""
48
super(TeeStream, self).__init__(wrapped)
49
- self.__tee__ = tee
+ self.__tee = tee
50
51
def read(self, b=None):
52
"""Reads data from source, copying it into ``tee`` before returning.
53
54
:param int b: number of bytes to read
55
56
data = self.__wrapped__.read(b)
57
- self.__tee__.write(data)
+ self.__tee.write(data)
58
return data
0 commit comments