Skip to content

Commit d633686

Browse files
committed
remove unnecessary seek
1 parent 292d63a commit d633686

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

xarray/backends/scipy_.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ class flush_only_netcdf_file(netcdf_file_base):
124124
def close(self):
125125
if hasattr(self, "fp") and not self.fp.closed:
126126
self.flush()
127-
self.fp.seek(0)
128127

129128
def __del__(self):
130129
# Remove the __del__ method, which in scipy is aliased to close().

0 commit comments

Comments
 (0)