changeset 3edb289c438e in tryton:default
details: https://hg.tryton.org/tryton?cmd=changeset;node=3edb289c438e
description:
Use proper logger to warn about completion failure
diffstat:
tryton/common/completion.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 3ffe480a0602 -r 3edb289c438e tryton/common/completion.py
--- a/tryton/common/completion.py Sat Jun 27 13:02:52 2020 +0200
+++ b/tryton/common/completion.py Wed Jul 01 14:49:33 2020 +0200
@@ -65,7 +65,7 @@
CONFIG['client.limit'], order, ['rec_name'], context=context,
process_exception=False, callback=callback)
except Exception:
- logging.warn(
+ logger.warning(
_("Unable to search for completion of %s") % model,
exc_info=True)
return False