mediagoblin-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Alon Levy
Subject: [GMG-Devel] [PATCH 10/83] Correct the class index schema class.
Date: Tue, 25 Feb 2014 21:57:53 +0200

From: Praveen Kumar <address@hidden>

---
 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]