hgext/remotefilelog/remotefilectx.py
changeset 52643 5cc8deb96b48
parent 51859 f4733654f144
child 52644 e627cc25b6f3
--- a/hgext/remotefilelog/remotefilectx.py	Sun Jan 05 22:12:02 2025 -0500
+++ b/hgext/remotefilelog/remotefilectx.py	Sun Jan 05 22:23:31 2025 -0500
@@ -39,9 +39,7 @@
             fileid = repo.nullid
         if fileid and len(fileid) == 40:
             fileid = bin(fileid)
-        super(remotefilectx, self).__init__(
-            repo, path, changeid, fileid, filelog, changectx
-        )
+        super().__init__(repo, path, changeid, fileid, filelog, changectx)
         self._ancestormap = ancestormap
 
     def size(self):
@@ -485,7 +483,7 @@
         )
         if fetch:
             self._repo.fileservice.prefetch(fetch)
-        return super(remotefilectx, self).annotate(*args, **kwargs)
+        return super().annotate(*args, **kwargs)
 
     # Return empty set so that the hg serve and thg don't stack trace
     def children(self):
@@ -495,9 +493,7 @@
 class remoteworkingfilectx(context.workingfilectx, remotefilectx):
     def __init__(self, repo, path, filelog=None, workingctx=None):
         self._ancestormap = None
-        super(remoteworkingfilectx, self).__init__(
-            repo, path, filelog, workingctx
-        )
+        super().__init__(repo, path, filelog, workingctx)
 
     def parents(self):
         return remotefilectx.parents(self)