mirror of https://github.com/python/cpython
Issue #18011: Silence an unrelated noise introduced in changeset 1b5ef05d6ced.
This commit is contained in:
parent
80f3bf95f1
commit
5cc9d32ee9
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue