[IMP] survey :- improve codeing
bzr revid: ysa@tinyerp.co.in-20100315105227-2bbiri6v06wqao8a
This commit is contained in:
@@ -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
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user