Set database = None to force closing at the end of the update call.

This commit is contained in:
David Sauve 2011-01-04 12:52:47 -08:00
parent 0442a35594
commit fce97acf33

View file

@ -259,6 +259,9 @@ class SearchBackend(BaseSearchBackend):
except UnicodeDecodeError:
sys.stderr.write('Chunk failed.\n')
pass
finally:
database = None
def remove(self, obj):
"""