From: Anton Efimenko Date: Sun, 22 Jun 2014 20:16:22 +0000 (-0700) Subject: Fix typo in utils.py X-Git-Tag: v0.4.15~3^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=ff00a41b907129597b7c2ef0f94fd17f15bf328c;p=flanker.git Fix typo in utils.py --- diff --git a/flanker/utils.py b/flanker/utils.py index 5514ef9..8c20a91 100644 --- a/flanker/utils.py +++ b/flanker/utils.py @@ -18,7 +18,7 @@ def _guess_and_convert(value): try: value = value.decode(charset["encoding"], "replace") return value - except (UnicodeError, LookupError): + except (UnicodeError, LookupError) as e: raise errors.DecodingError(str(e)) def _make_unicode(value, charset=None):