]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Clean up a bare except: clause.
authorunknown <tools@python.org>
Wed, 4 Jul 2001 07:01:29 +0000 (07:01 +0000)
committerunknown <tools@python.org>
Wed, 4 Jul 2001 07:01:29 +0000 (07:01 +0000)
Lib/mhlib.py

index 0302c30914b65e0703879324e022207a119be610..c83b63777a56d4983015198b7377307b221e3e72 100644 (file)
@@ -530,7 +530,7 @@ class Folder:
             try:
                 toseq = tosequences[name]
                 new = 0
-            except:
+            except KeyError:
                 toseq = []
                 new = 1
             for fromn, ton in refileditems: