diff options
author | Skip Montanaro <skip@pobox.com> | 2002-03-23 05:55:18 (GMT) |
---|---|---|
committer | Skip Montanaro <skip@pobox.com> | 2002-03-23 05:55:18 (GMT) |
commit | 3c4a629bdca5d57238b38e69820896acdb388785 (patch) | |
tree | 51dc14e52324d297efc75ae93953cdcba24b6d2b /Lib/quopri.py | |
parent | db5d1444a1e2b0235634fcd307a7f960e66b02b0 (diff) | |
download | cpython-3c4a629bdca5d57238b38e69820896acdb388785.zip cpython-3c4a629bdca5d57238b38e69820896acdb388785.tar.gz cpython-3c4a629bdca5d57238b38e69820896acdb388785.tar.bz2 |
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 edee3d9..8788afc 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 |