summaryrefslogtreecommitdiff
path: root/addons/document
diff options
context:
space:
mode:
authorPurnendu Singh (OpenERP) <psi@tinyerp.com>2012-10-29 11:16:08 +0530
committerPurnendu Singh (OpenERP) <psi@tinyerp.com>2012-10-29 11:16:08 +0530
commit62dffb1be6ee221ffa5280ea3d3073b00dcb4a9f (patch)
tree0a8e113529cbe581db9811c0bd1d80148a01e43b /addons/document
parentc55438e695d03854ebf1b82aa0d6b33b3dc278f0 (diff)
parentbcf7db1651bef48b0495d6234c18dcc4dee506ce (diff)
[MERGE]
bzr revid: psi@tinyerp.com-20121029054608-p11g8eti1f9gpd92
Diffstat (limited to 'addons/document')
-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