From: Moshe Zadka Date: Sun, 3 Dec 2000 20:48:07 +0000 (+0000) Subject: Call of _cmp had wrong number of paramereters. X-Git-Tag: v2.1a1~676 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=afb17fc7b2782bddd74ffcf4f5b51efc9a9b4545;p=python Call of _cmp had wrong number of paramereters. Fixed definition of _cmp. --- diff --git a/Lib/filecmp.py b/Lib/filecmp.py index e84dd07b66..e5024a493a 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