[Python-checkins] cpython: Issue #18011: Silence an unrelated noise introduced in changeset 1b5ef05d6ced.
serhiy.storchaka
python-checkins at python.org
Tue May 28 14:43:16 CEST 2013
http://hg.python.org/cpython/rev/29a823f31465
changeset: 83952:29a823f31465
user: Serhiy Storchaka <storchaka at gmail.com>
date: Tue May 28 15:42:34 2013 +0300
summary:
Issue #18011: Silence an unrelated noise introduced in changeset 1b5ef05d6ced.
files:
Lib/base64.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/base64.py b/Lib/base64.py
--- a/Lib/base64.py
+++ b/Lib/base64.py
@@ -222,7 +222,7 @@
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:
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list