예제 #1
0
파일: excel.py 프로젝트: bubbas/indico
 def excelFormatting(text):
     if text is None:
         text = ""
     if text.strip() != "":
         text = utils.utf8Tolatin1(text)
         text = text.replace("\x0d", "")
     return text
예제 #2
0
 def excelFormatting(text):
     if text is None:
         text = ""
     if text.strip() != "":
         text = utils.utf8Tolatin1(text)
         text = text.replace('\x0d', '')
     return text
예제 #3
0
파일: excel.py 프로젝트: lukasnellen/indico
 def excelFormatting(text):
     if text.strip() != "":
         text = utils.utf8Tolatin1(text)
         text = text.replace('"', '""')
         text = "\"%s\"" % text
     return text
예제 #4
0
 def excelFormatting(text):
     if text.strip()!="":
         text=utils.utf8Tolatin1(text)
         text=text.replace('"','""')
         text="\"%s\""%text
     return text