Back to index

moin  1.9.0~rc2
Functions
MoinMoin.filter.application_vnd_ms_excel Namespace Reference

Functions

def execute

Function Documentation

def MoinMoin.filter.application_vnd_ms_excel.execute (   indexobj,
  filename 
)

Definition at line 13 of file application_vnd_ms_excel.py.

00013 
00014 def execute(indexobj, filename):
00015     data = execfilter("xls2csv %s", filename)
00016     # xls2csv uses comma as field separator and "field content",
00017     # we strip both to not confuse the indexer
00018     data = data.replace(u',', u' ').replace(u'"', u' ')
00019     return data
00020 

Here is the call graph for this function: