Skip to content
Snippets Groups Projects
Commit f13ef760 authored by Panos Christeas's avatar Panos Christeas
Browse files

Document: Better dbg message of content indexers.

bzr revid: p_christ@hol.gr-20100812110929-hyy3oe0dmxkwxja4
parent 2bd49b9d
No related branches found
No related tags found
No related merge requests found
......@@ -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")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment