From 5cc9d32ee9bd61a12e6e0eebdce61f8fb1652fc4 Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Tue, 28 May 2013 15:42:34 +0300 Subject: [PATCH] Issue #18011: Silence an unrelated noise introduced in changeset 1b5ef05d6ced. --- Lib/base64.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/base64.py b/Lib/base64.py index f923244104e..9c15752fe31 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: