diff options
| author | Olivier Dony <odo@openerp.com> | 2010-11-09 12:04:36 +0100 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2010-11-09 12:04:36 +0100 |
| commit | fc065933c7f7673fd5576b6bbb2de8027423d310 (patch) | |
| tree | e9f742c053df2482c1c282382e1b8663d1e6790d /bin/tools/misc.py | |
| parent | f886f8f43b6d627dcd6c6900e61bee3bc2c59648 (diff) | |
[IMP] tools.misc: typo in tools.ustr error message
bzr revid: odo@openerp.com-20101109110436-aftj49f65zac5qwe
Diffstat (limited to 'bin/tools/misc.py')
| -rw-r--r-- | bin/tools/misc.py | 4 |
1 files 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): |
