Merge pull request #148 from srackham/drop-close-warning
Drop gridfs close warning
This commit is contained in:
commit
eeae1b4aea
1 changed files with 0 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue