Commits

Matt Chaput committed 344b484

Fixed wrong number of arguments in AsyncWriter.delete_document(). Fixes issue #49 .

  • Participants
  • Parent commits a1e588c

Comments (0)

Files changed (1)

File src/whoosh/writing.py

         writer.commit(*self.commitargs, **self.commitkwargs)
     
     def delete_document(self, docnum):
-        self._record("delete_document", docnum)
+        self._record("delete_document", docnum, {})
     
     def add_document(self, *args, **kwargs):
         self._record("add_document", args, kwargs)