A little TODO

This commit is contained in:
Bohuslav Kabrda
2013-03-21 08:35:00 +01:00
parent c5ee625a29
commit ba3f573b3a
+2
View File
@@ -93,6 +93,8 @@ class Whooshee(object):
if not hasattr(wh, 'search_string_min_len'):
wh.search_string_min_len = self.search_string_min_len
if not hasattr(wh, 'index_subdir'):
# TODO: do we really want/need to use camel casing?
# everywhere else, there is just .lower()
wh.index_subdir = self.camel_to_snake(wh.__name__)
self.__class__.whoosheers.append(wh)
self.create_index(wh)