Commit 5cc9d32e authored by Serhiy Storchaka's avatar Serhiy Storchaka

Issue #18011: Silence an unrelated noise introduced in changeset 1b5ef05d6ced.

parent 80f3bf95
...@@ -222,7 +222,7 @@ def b32decode(s, casefold=False, map01=None): ...@@ -222,7 +222,7 @@ def b32decode(s, casefold=False, map01=None):
for c in quanta: for c in quanta:
acc = (acc << 5) + b32rev[c] acc = (acc << 5) + b32rev[c]
except KeyError: except KeyError:
raise binascii.Error('Non-base32 digit found') raise binascii.Error('Non-base32 digit found') from None
decoded += acc.to_bytes(5, 'big') decoded += acc.to_bytes(5, 'big')
# Process the last, partial quanta # Process the last, partial quanta
if padchars: if padchars:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment