1. pombredanne
  2. whoosh

Commits

Matt Chaput  committed 7fd740c

Fixed outdated reference in AsyncWriter. Fixes issue #129.

  • Participants
  • Parent commits 8c27aa3
  • Branches default

Comments (0)

Files changed (1)

File src/whoosh/writing.py

View file
  • Ignore whitespace
         writer = self.writer
         while writer is None:
             try:
-                writer = self.writerfn(**self.writerargs)
+                writer = self.index.writer(**self.writerargs)
             except LockError:
                 time.sleep(self.delay)
         for method, args, kwargs in self.events: