summaryrefslogtreecommitdiff
path: root/client/src
diff options
context:
space:
mode:
authorVictor Shyba <victor1984@riseup.net>2017-03-28 19:56:12 -0300
committerdrebs <drebs@leap.se>2017-04-04 18:27:39 +0200
commite5e80c90d3f174cfe8b45b8e25941a31501e8559 (patch)
tree4b279f6b8088cb83857afac3ad78975c884cf207 /client/src
parent205a63808addb6269d3e98c5a60ab188afe8a9a5 (diff)
[style] fix wrong identation
Diffstat (limited to 'client/src')
-rw-r--r--client/src/leap/soledad/client/_pipes.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/client/src/leap/soledad/client/_pipes.py b/client/src/leap/soledad/client/_pipes.py
index 443f4a70..eef3f1f9 100644
--- a/client/src/leap/soledad/client/_pipes.py
+++ b/client/src/leap/soledad/client/_pipes.py
@@ -39,13 +39,13 @@ class TruncatedTailPipe(object):
self._truncate_tail()
def _truncate_tail(self):
- overflow_size = self.buffer.tell() - self.tail_size
- self.buffer.seek(0)
- self.output.write(self.buffer.read(overflow_size))
- remaining = self.buffer.read()
- self.buffer.seek(0)
- self.buffer.write(remaining)
- self.buffer.truncate()
+ overflow_size = self.buffer.tell() - self.tail_size
+ self.buffer.seek(0)
+ self.output.write(self.buffer.read(overflow_size))
+ remaining = self.buffer.read()
+ self.buffer.seek(0)
+ self.buffer.write(remaining)
+ self.buffer.truncate()
def close(self):
return self.output