diff options
Diffstat (limited to 'Lib/cmp.py')
-rw-r--r-- | Lib/cmp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/cmp.py b/Lib/cmp.py index 434caee06c..32b77fac9b 100644 --- a/Lib/cmp.py +++ b/Lib/cmp.py @@ -34,7 +34,7 @@ def cmp(f1, f2): # Compare two files, use the cache if possible. # cached signatures match return outcome # stale cached signature(s) - except RuntimeError: + except KeyError: # cache miss pass # really compare |