summaryrefslogtreecommitdiffstats
path: root/Lib/base64.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-05-28 12:42:34 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-05-28 12:42:34 (GMT)
commit5cc9d32ee9bd61a12e6e0eebdce61f8fb1652fc4 (patch)
treee01f2fd529dd86c158bd9cf9f1f3daf2cb17e641 /Lib/base64.py
parent80f3bf95f110a105e32519310041dcf55cabc36c (diff)
downloadcpython-5cc9d32ee9bd61a12e6e0eebdce61f8fb1652fc4.zip
cpython-5cc9d32ee9bd61a12e6e0eebdce61f8fb1652fc4.tar.gz
cpython-5cc9d32ee9bd61a12e6e0eebdce61f8fb1652fc4.tar.bz2
Issue #18011: Silence an unrelated noise introduced in changeset 1b5ef05d6ced.
Diffstat (limited to 'Lib/base64.py')
-rwxr-xr-xLib/base64.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/base64.py b/Lib/base64.py
index f923244..9c15752 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: