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-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5cc9d32ee9bd61a12e6e0eebdce61f8fb1652fc4;p=python Issue #18011: Silence an unrelated noise introduced in changeset 1b5ef05d6ced. --- diff --git a/Lib/base64.py b/Lib/base64.py index f923244104..9c15752fe3 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: