[IMP] survey :- improve codeing

bzr revid: ysa@tinyerp.co.in-20100315105227-2bbiri6v06wqao8a
This commit is contained in:
Ysa (Open ERP)
2010-03-15 16:22:27 +05:30
parent 2de6177884
commit 13096f9058
2 changed files with 222 additions and 89 deletions
+2 -2
View File
@@ -55,7 +55,7 @@ class PptIndex(indexer):
return [ 'application/ms-word']
def _getExtensions(self):
return ['.ppt','.pptx']
return ['.ppt']
def _doIndexFile(self,fname):
fp = Popen(['ppthtml', fname], shell=False, stdout=PIPE).stdout
@@ -68,7 +68,7 @@ class DocIndex(indexer):
return [ 'application/ms-word']
def _getExtensions(self):
return ['.doc','.docx']
return ['.doc']
def _doIndexFile(self,fname):
fp = Popen(['antiword', fname], shell=False, stdout=PIPE).stdout
+220 -87
View File
File diff suppressed because it is too large Load Diff