Merge pull request #148 from srackham/drop-close-warning
Drop gridfs close warning
This commit is contained in:
commit
eeae1b4aea
@ -623,9 +623,6 @@ class GridFSProxy(object):
|
||||
def close(self):
|
||||
if self.newfile:
|
||||
self.newfile.close()
|
||||
else:
|
||||
msg = "The close() method is only necessary after calling write()"
|
||||
warnings.warn(msg)
|
||||
|
||||
|
||||
class FileField(BaseField):
|
||||
|
Loading…
x
Reference in New Issue
Block a user