From afb17fc7b2782bddd74ffcf4f5b51efc9a9b4545 Mon Sep 17 00:00:00 2001 From: Moshe Zadka Date: Sun, 3 Dec 2000 20:48:07 +0000 Subject: Call of _cmp had wrong number of paramereters. Fixed definition of _cmp. --- Lib/filecmp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 @@ def cmpfiles(a, b, common, shallow=1, use_statcache=0): # 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 -- cgit v0.12