commit | afb17fc7b2782bddd74ffcf4f5b51efc9a9b4545 | [log] [tgz] |
---|---|---|
author | Moshe Zadka <moshez@math.huji.ac.il> | Sun Dec 03 20:48:07 2000 +0000 |
committer | Moshe Zadka <moshez@math.huji.ac.il> | Sun Dec 03 20:48:07 2000 +0000 |
tree | 15c7d72fbefb30198a438750d0463362f5af36c7 | |
parent | 1d99433a58c8c69caa734acb884f274663885a17 [diff] |
Call of _cmp had wrong number of paramereters. Fixed definition of _cmp.
diff --git a/Lib/filecmp.py b/Lib/filecmp.py index e84dd07..e5024a4 100644 --- a/Lib/filecmp.py +++ b/Lib/filecmp.py
@@ -295,9 +295,9 @@ # 1 for different # 2 for funny cases (can't stat, etc.) # -def _cmp(a, b): +def _cmp(a, b, sh, st): try: - return not abs(cmp(a, b)) + return not abs(cmp(a, b, sh, st)) except os.error: return 2