Kaydet (Commit) afb17fc7 authored tarafından Moshe Zadka's avatar Moshe Zadka

Call of _cmp had wrong number of paramereters.

Fixed definition of _cmp.
üst 1d99433a
...@@ -295,9 +295,9 @@ def cmpfiles(a, b, common, shallow=1, use_statcache=0): ...@@ -295,9 +295,9 @@ def cmpfiles(a, b, common, shallow=1, use_statcache=0):
# 1 for different # 1 for different
# 2 for funny cases (can't stat, etc.) # 2 for funny cases (can't stat, etc.)
# #
def _cmp(a, b): def _cmp(a, b, sh, st):
try: try:
return not abs(cmp(a, b)) return not abs(cmp(a, b, sh, st))
except os.error: except os.error:
return 2 return 2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment