Commits

Matt Chaput  committed 9c6d52a

Fixed obsolete reference to fileindex._create_index().

  • Participants
  • Parent commits c33e697

Comments (0)

Files changed (1)

File src/whoosh/filedb/gae.py

 
 from whoosh.compat import BytesIO
 from whoosh.store import Storage
-from whoosh.filedb.fileindex import _create_index, FileIndex, _DEF_INDEX_NAME
+from whoosh.filedb.fileindex import TOC, FileIndex, _DEF_INDEX_NAME
 from whoosh.filedb.filestore import ReadOnlyError
 from whoosh.filedb.structfile import StructFile
 
         if self.readonly:
             raise ReadOnlyError
 
-        _create_index(self, schema, indexname)
+        TOC.create(self, schema, indexname)
         return FileIndex(self, schema, indexname)
 
     def open_index(self, indexname=_DEF_INDEX_NAME, schema=None):