From 8ccc0f724b9619b4fdc2a9268ac409688a7a8f2e Mon Sep 17 00:00:00 2001 From: serbaut Date: Tue, 22 Sep 2009 22:30:02 +0200 Subject: [PATCH] cleanup Signed-off-by: Mike Dirolf --- gridfs/grid_file.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/gridfs/grid_file.py b/gridfs/grid_file.py index 01a86b531..12a118485 100644 --- a/gridfs/grid_file.py +++ b/gridfs/grid_file.py @@ -188,7 +188,6 @@ class GridFile(object): def __flush_write_buffer(self): """Flush the write buffer contents out to a chunk. - """ data = self.__write_buffer.getvalue() @@ -214,10 +213,6 @@ class GridFile(object): def flush(self): """Flush the GridFile to the database. - - Updates md5 and length to reflect the currently written chunks - (there may still be buffered data to be written to the next - chunk). """ self.__assert_open() if self.mode != "w":