From: unknown Date: Wed, 4 Jul 2001 07:01:29 +0000 (+0000) Subject: Clean up a bare except: clause. X-Git-Tag: v2.2a3~1352 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3db163aa1952a53712d402f8f460228dde1192ce;p=thirdparty%2FPython%2Fcpython.git Clean up a bare except: clause. --- diff --git a/Lib/mhlib.py b/Lib/mhlib.py index 0302c30914b6..c83b63777a56 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: