comparison hgext/extdiff.py @ 48946:642e31cb55f0

py3: use class X: instead of class X(object): The inheritance from object is implied in Python 3. So this should be equivalent. This change was generated via an automated search and replace. So there may have been some accidental changes. Differential Revision: https://phab.mercurial-scm.org/D12352
author Gregory Szorc <gregory.szorc@gmail.com>
date Mon, 21 Feb 2022 13:08:28 -0700
parents 6000f5b25c9b
children 493034cc3265
comparison
equal deleted inserted replaced
48945:55d132525155 48946:642e31cb55f0
693 option = option or [b'-Npru'] 693 option = option or [b'-Npru']
694 cmdline = b' '.join(map(procutil.shellquote, [program] + option)) 694 cmdline = b' '.join(map(procutil.shellquote, [program] + option))
695 return dodiff(ui, repo, cmdline, pats, opts) 695 return dodiff(ui, repo, cmdline, pats, opts)
696 696
697 697
698 class savedcmd(object): 698 class savedcmd:
699 """use external program to diff repository (or selected files) 699 """use external program to diff repository (or selected files)
700 700
701 Show differences between revisions for the specified files, using 701 Show differences between revisions for the specified files, using
702 the following program:: 702 the following program::
703 703