From fc065933c7f7673fd5576b6bbb2de8027423d310 Mon Sep 17 00:00:00 2001 From: Olivier Dony Date: Tue, 9 Nov 2010 12:04:36 +0100 Subject: [PATCH] [IMP] tools.misc: typo in tools.ustr error message bzr revid: odo@openerp.com-20101109110436-aftj49f65zac5qwe --- bin/tools/misc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/tools/misc.py b/bin/tools/misc.py index e2f6b51e628..9728866a5d0 100644 --- a/bin/tools/misc.py +++ b/bin/tools/misc.py @@ -864,14 +864,14 @@ def ustr(value, hint_encoding='utf-8'): try: return unicode(value) except Exception: - raise UnicodeError('unable de to convert %r' % (value,)) + raise UnicodeError('unable to convert %r' % (value,)) for ln in get_encodings(hint_encoding): try: return unicode(value, ln) except Exception: pass - raise UnicodeError('unable de to convert %r' % (value,)) + raise UnicodeError('unable to convert %r' % (value,)) def exception_to_unicode(e):