summaryrefslogtreecommitdiff
path: root/src/leap/soledad/client/_db
diff options
context:
space:
mode:
authorVictor Shyba <victor1984@riseup.net>2017-08-07 21:09:09 -0300
committerVictor Shyba <victor1984@riseup.net>2017-08-07 21:09:09 -0300
commitfaa01b5858f9a7a80edb2120f3d767891801b897 (patch)
treef2e86ea73bf9284ea3970e6218343b9ed21edf58 /src/leap/soledad/client/_db
parent9e7671b4bc8847ab59cca6742e87b83933c60736 (diff)
[refactor] use endStream public method instead of private one
Diffstat (limited to 'src/leap/soledad/client/_db')
-rw-r--r--src/leap/soledad/client/_db/blobs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/soledad/client/_db/blobs.py b/src/leap/soledad/client/_db/blobs.py
index 3bbbb1e5..87209570 100644
--- a/src/leap/soledad/client/_db/blobs.py
+++ b/src/leap/soledad/client/_db/blobs.py
@@ -149,7 +149,7 @@ class DecrypterBuffer(object):
def close(self):
if self.decrypter:
real_size = self.decrypter.decrypted_content_size
- return self.decrypter._end_stream(), real_size
+ return self.decrypter.endStream(), real_size
else:
return self.raw_data, self.raw_data.tell()