diff options
author | Moshe Zadka <moshez@math.huji.ac.il> | 2000-12-03 20:48:07 +0000 |
---|---|---|
committer | Moshe Zadka <moshez@math.huji.ac.il> | 2000-12-03 20:48:07 +0000 |
commit | f4609d1f24b4ad553f47e5eea3c0137163656ca1 (patch) | |
tree | 23d3815d591c40044c5b58f0edda505b2001df81 /Lib/filecmp.py | |
parent | a1b268afead124ab1fb0a30cab4eed0a3659cb76 (diff) | |
download | cpython-f4609d1f24b4ad553f47e5eea3c0137163656ca1.tar.gz |
Call of _cmp had wrong number of paramereters.
Fixed definition of _cmp.
Diffstat (limited to 'Lib/filecmp.py')
-rw-r--r-- | Lib/filecmp.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 |