[GMG-Devel] [PATCH 10/83] Correct the class index schema class.

Alon Levy alon at pobox.com
Tue Feb 25 14:57:53 EST 2014


From: Praveen Kumar <praveen97uma at gmail.com>

---
 mediagoblin/plugins/search/schemas.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mediagoblin/plugins/search/schemas.py b/mediagoblin/plugins/search/schemas.py
index 405cf35..6b976c3 100644
--- a/mediagoblin/plugins/search/schemas.py
+++ b/mediagoblin/plugins/search/schemas.py
@@ -1,10 +1,10 @@
-from whoosh.fields import Schema
+from whoosh.fields import SchemaClass
 from whoosh.fields import ID
 from whoosh.fields import TEXT
 from whoosh.fields import DATETIME
 
 
-class MediaEntrySearchSchema(Schema):
+class MediaEntrySearchSchema(SchemaClass):
     """
     Represents the schema of the search index corresponding 
     to db.models.MediaEntry objects.
-- 
1.8.5.3



More information about the devel mailing list