[GMG-Devel] [PATCH 16/83] Correct the index identifier.

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


From: Praveen Kumar <praveen97uma at gmail.com>

---
 mediagoblin/plugins/search/registry.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mediagoblin/plugins/search/registry.py b/mediagoblin/plugins/search/registry.py
index 2636fef..8aacc95 100644
--- a/mediagoblin/plugins/search/registry.py
+++ b/mediagoblin/plugins/search/registry.py
@@ -7,7 +7,7 @@ class IndexRegistry(object):
         """
         Registers an index object.
         """
-        identifier = search_index_obj.__tablename__
+        identifier = search_index_obj.identifier
         IndexRegistry._registry[identifier] = search_index_obj
     
     @staticmethod
-- 
1.8.5.3



More information about the devel mailing list