comparison hgext/infinitepush/__init__.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 78911231ed33
children 2e726c934fcd
comparison
equal deleted inserted replaced
48945:55d132525155 48946:642e31cb55f0
284 if remotebookmark.startswith(hoist): 284 if remotebookmark.startswith(hoist):
285 return remotebookmark[len(hoist) :] 285 return remotebookmark[len(hoist) :]
286 return remotebookmark 286 return remotebookmark
287 287
288 288
289 class bundlestore(object): 289 class bundlestore:
290 def __init__(self, repo): 290 def __init__(self, repo):
291 self._repo = repo 291 self._repo = repo
292 storetype = self._repo.ui.config(b'infinitepush', b'storetype') 292 storetype = self._repo.ui.config(b'infinitepush', b'storetype')
293 if storetype == b'disk': 293 if storetype == b'disk':
294 from . import store 294 from . import store