comparison hgext/largefiles/lfutil.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 c166b212bdee
comparison
equal deleted inserted replaced
48945:55d132525155 48946:642e31cb55f0
754 match.matchfn = matchfn 754 match.matchfn = matchfn
755 755
756 return match 756 return match
757 757
758 758
759 class automatedcommithook(object): 759 class automatedcommithook:
760 """Stateful hook to update standins at the 1st commit of resuming 760 """Stateful hook to update standins at the 1st commit of resuming
761 761
762 For efficiency, updating standins in the working directory should 762 For efficiency, updating standins in the working directory should
763 be avoided while automated committing (like rebase, transplant and 763 be avoided while automated committing (like rebase, transplant and
764 so on), because they should be updated before committing. 764 so on), because they should be updated before committing.