summaryrefslogtreecommitdiff
path: root/addons/document/std_index.py
diff options
context:
space:
mode:
authorFabien Pinckaers <fp@tinyerp.com>2012-10-26 09:57:15 +0200
committerFabien Pinckaers <fp@tinyerp.com>2012-10-26 09:57:15 +0200
commitdd3e728fb60cc91e2a8cf0fcc455c225a53df7b2 (patch)
tree8615fbd18b69474277a6e70a4d9986c3c9337b7b /addons/document/std_index.py
parente08f2e5102dac500f1a1422fa9fc7a2ec43c7bb9 (diff)
parent93be12ab1e1bd607b3a4f04f69a310622a4205ed (diff)
[MERGE] + improve hr_timesheet
bzr revid: fp@tinyerp.com-20121026075715-kq910tdzhc1uul3l
Diffstat (limited to 'addons/document/std_index.py')
-rw-r--r--addons/document/std_index.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/document/std_index.py b/addons/document/std_index.py
index 95c5e594c25..b20874e72f8 100644
--- a/addons/document/std_index.py
+++ b/addons/document/std_index.py
@@ -103,7 +103,7 @@ class DocIndex(indexer):
return _to_unicode(data)
except OSError:
- _logger.warn("Failed attempt to execute antiword (MS Word reader). Antiword is necessary to index the file %s of MIME type %s. Detailed error available at DEBUG level.", fname, self._getMimeTypes()[0])
+ _logger.warning("Failed attempt to execute antiword (MS Word reader). Antiword is necessary to index the file %s of MIME type %s. Detailed error available at DEBUG level.", fname, self._getMimeTypes()[0])
_logger.debug("Trace of the failed file indexing attempt.", exc_info=True)
return False