Document: Better dbg message of content indexers.

bzr revid: p_christ@hol.gr-20100812110929-hyy3oe0dmxkwxja4
This commit is contained in:
P. Christeas
2010-08-12 14:09:29 +03:00
parent 2bd49b9d27
commit f13ef76074
+4 -2
View File
@@ -98,7 +98,9 @@ class indexer(object):
def _doIndexFile(self,fpath):
raise NhException("Content not handled here")
def __repr__(self):
return "<indexer %s.%s>" %(self.__module__, self.__class__.__name__)
def mime_match(mime, mdict):
@@ -128,7 +130,7 @@ class contentIndex(object):
f = True
if f:
self.__logger.debug('Register content indexer: %s', obj)
self.__logger.debug('Register content indexer: %r', obj)
if not f:
raise Exception("Your indexer should at least suport a mimetype or extension")