diff options
| author | Raphael Collet <rco@openerp.com> | 2012-10-25 15:09:30 +0200 |
|---|---|---|
| committer | Raphael Collet <rco@openerp.com> | 2012-10-25 15:09:30 +0200 |
| commit | a54c32ced411dbe0e0809749c79b9663e55028a5 (patch) | |
| tree | 18a80ad1d0a5852d750f389ca25ec5bfb6b393d3 /addons/document/std_index.py | |
| parent | 9de8965ebb7a61f6f9b2c90486a7c83ef9025054 (diff) | |
| parent | dd95deb3690456d15fac27fe9bccd90889082ac2 (diff) | |
[MERGE] trunk-logging-vmt (use module logging instead of netsvc.Logger)
bzr revid: rco@openerp.com-20121025130930-uek0a89xaxlr3tfo
Diffstat (limited to 'addons/document/std_index.py')
| -rw-r--r-- | addons/document/std_index.py | 2 |
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 |
