summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorunknown <tools@python.org>2001-07-04 07:01:29 (GMT)
committerunknown <tools@python.org>2001-07-04 07:01:29 (GMT)
commit3db163aa1952a53712d402f8f460228dde1192ce (patch)
tree709fedd6db54c4ea924979b2a000c9229183accf
parentfbe7b4fc8c48aa722ef4838182091d1aac75681d (diff)
downloadcpython-3db163aa1952a53712d402f8f460228dde1192ce.zip
cpython-3db163aa1952a53712d402f8f460228dde1192ce.tar.gz
cpython-3db163aa1952a53712d402f8f460228dde1192ce.tar.bz2
Clean up a bare except: clause.
-rw-r--r--Lib/mhlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/mhlib.py b/Lib/mhlib.py
index 0302c30..c83b637 100644
--- a/Lib/mhlib.py
+++ b/Lib/mhlib.py
@@ -530,7 +530,7 @@ class Folder:
try:
toseq = tosequences[name]
new = 0
- except:
+ except KeyError:
toseq = []
new = 1
for fromn, ton in refileditems: