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

This commit is contained in:
Serhiy Storchaka 2013-05-28 15:42:34 +03:00
parent 80f3bf95f1
commit 5cc9d32ee9
1 changed files with 1 additions and 1 deletions

View File

@ -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: