From 741c317b42b7def35b200e24ffc4d82074efcb32 Mon Sep 17 00:00:00 2001 From: "P. Christeas" Date: Thu, 24 Jun 2010 18:27:10 +0300 Subject: [PATCH] Doc std_index: compact some comment There is OpenDocument types we do not currently attempt to index, because their text may not make much sense. It is very easy, though, to add them in the list and get them indexed. bzr revid: p_christ@hol.gr-20100624152710-r6cm1384l7mq6pcz --- addons/document/std_index.py | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/addons/document/std_index.py b/addons/document/std_index.py index 4517f38b5d3..25b7e1f081f 100644 --- a/addons/document/std_index.py +++ b/addons/document/std_index.py @@ -178,18 +178,10 @@ class ImageNoIndex(indexer): cntIndex.register(ImageNoIndex()) # other opendocument formats: -#vnd.oasis.opendocument.chart-template -#vnd.oasis.opendocument.chart -#vnd.oasis.opendocument.database -#vnd.oasis.opendocument.formula-template -#vnd.oasis.opendocument.formula -#vnd.oasis.opendocument.graphics-template -#vnd.oasis.opendocument.graphics -#vnd.oasis.opendocument.image -#vnd.oasis.opendocument.presentation-template -#vnd.oasis.opendocument.presentation -#vnd.oasis.opendocument.spreadsheet-template -#vnd.oasis.opendocument.spreadsheet +# chart-template chart database +# formula-template formula graphics-template graphics +# image +# presentation-template presentation spreadsheet-template spreadsheet class OpenDoc(indexer): """ Index OpenDocument files.