comparison hgext/rebase.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 2cce2fa5bcf7
children 2e726c934fcd
comparison
equal deleted inserted replaced
48945:55d132525155 48946:642e31cb55f0
157 return cmdutil.format_changeset_summary( 157 return cmdutil.format_changeset_summary(
158 ctx.repo().ui, ctx, command=b'rebase' 158 ctx.repo().ui, ctx, command=b'rebase'
159 ) 159 )
160 160
161 161
162 class rebaseruntime(object): 162 class rebaseruntime:
163 """This class is a container for rebase runtime state""" 163 """This class is a container for rebase runtime state"""
164 164
165 def __init__(self, repo, ui, inmemory=False, dryrun=False, opts=None): 165 def __init__(self, repo, ui, inmemory=False, dryrun=False, opts=None):
166 if opts is None: 166 if opts is None:
167 opts = {} 167 opts = {}