def _antiword(filename): try: return antiword(filename, logger) except: logger.error("antiword failure " + traceback.format_exc()) return ""
def _antiword(filename): try: return antiword(filename, logger) except: logger.error('antiword failure ' + traceback.format_exc()) return ''
def _antiword(filename): try: return antiword(filename, logger) except: logger.exception(u'antiword failure with file: %s' % filename) return ''