aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2002-03-23 05:55:18 +0000
committerSkip Montanaro <skip@pobox.com>2002-03-23 05:55:18 +0000
commit3c4a629bdca5d57238b38e69820896acdb388785 (patch)
tree51dc14e52324d297efc75ae93953cdcba24b6d2b /Lib/quopri.py
parenttighten up except - only ValueError can be raised in this situation (diff)
downloadcpython-3c4a629bdca5d57238b38e69820896acdb388785.tar.gz
cpython-3c4a629bdca5d57238b38e69820896acdb388785.tar.bz2
cpython-3c4a629bdca5d57238b38e69820896acdb388785.zip
import statements only raise ImportError, right?
Diffstat (limited to 'Lib/quopri.py')
-rwxr-xr-xLib/quopri.py2
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