diff options
author | Skip Montanaro <skip@pobox.com> | 2002-03-23 05:55:18 +0000 |
---|---|---|
committer | Skip Montanaro <skip@pobox.com> | 2002-03-23 05:55:18 +0000 |
commit | 3c4a629bdca5d57238b38e69820896acdb388785 (patch) | |
tree | 51dc14e52324d297efc75ae93953cdcba24b6d2b /Lib/quopri.py | |
parent | tighten up except - only ValueError can be raised in this situation (diff) | |
download | cpython-3c4a629bdca5d57238b38e69820896acdb388785.tar.gz cpython-3c4a629bdca5d57238b38e69820896acdb388785.tar.bz2 cpython-3c4a629bdca5d57238b38e69820896acdb388785.zip |
import statements only raise ImportError, right?
Diffstat (limited to 'Lib/quopri.py')
-rwxr-xr-x | Lib/quopri.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/quopri.py b/Lib/quopri.py index edee3d99160..8788afc2f18 100755 --- a/Lib/quopri.py +++ b/Lib/quopri.py @@ -13,7 +13,7 @@ EMPTYSTRING = '' try: from binascii import a2b_qp, b2a_qp -except: +except ImportError: a2b_qp = None b2a_qp = None |