Commit 13399fc3 by rfkelly0

remove extraneous file.seek(0) call

parent c71332a7
...@@ -15,7 +15,7 @@ implementations of this interface such as: ...@@ -15,7 +15,7 @@ implementations of this interface such as:
""" """
__version__ = "0.2.0a6" __version__ = "0.2.0a8"
__author__ = "Will McGugan (will@willmcgugan.com)" __author__ = "Will McGugan (will@willmcgugan.com)"
# 'base' imports * from 'path' and 'errors', so their # 'base' imports * from 'path' and 'errors', so their
......
...@@ -135,7 +135,6 @@ class RemoteFileBuffer(object): ...@@ -135,7 +135,6 @@ class RemoteFileBuffer(object):
if not self._flushed: if not self._flushed:
pos = self.file.tell() pos = self.file.tell()
self.file.seek(0) self.file.seek(0)
self.file.seek(0)
self.fs.setcontents(self.path,self.file) self.fs.setcontents(self.path,self.file)
self.file.seek(pos) self.file.seek(pos)
self._flushed = True self._flushed = True
......
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