summaryrefslogtreecommitdiffstats
path: root/Lib/quopri.py
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2002-03-23 05:55:18 (GMT)
committerSkip Montanaro <skip@pobox.com>2002-03-23 05:55:18 (GMT)
commit3c4a629bdca5d57238b38e69820896acdb388785 (patch)
tree51dc14e52324d297efc75ae93953cdcba24b6d2b /Lib/quopri.py
parentdb5d1444a1e2b0235634fcd307a7f960e66b02b0 (diff)
downloadcpython-3c4a629bdca5d57238b38e69820896acdb388785.zip
cpython-3c4a629bdca5d57238b38e69820896acdb388785.tar.gz
cpython-3c4a629bdca5d57238b38e69820896acdb388785.tar.bz2
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 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