From: Serhiy Storchaka Date: Tue, 28 May 2013 12:42:34 +0000 (+0300) Subject: Issue #18011: Silence an unrelated noise introduced in changeset 1b5ef05d6ced. X-Git-Tag: v3.4.0a1~620 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5cc9d32ee9bd61a12e6e0eebdce61f8fb1652fc4;p=thirdparty%2FPython%2Fcpython.git Issue #18011: Silence an unrelated noise introduced in changeset 1b5ef05d6ced. --- diff --git a/Lib/base64.py b/Lib/base64.py index f923244104e3..9c15752fe312 100755 --- a/Lib/base64.py +++ b/Lib/base64.py @@ -222,7 +222,7 @@ def b32decode(s, casefold=False, map01=None): for c in quanta: acc = (acc << 5) + b32rev[c] except KeyError: - raise binascii.Error('Non-base32 digit found') + raise binascii.Error('Non-base32 digit found') from None decoded += acc.to_bytes(5, 'big') # Process the last, partial quanta if padchars: