hgext/remotefilelog/historypack.py
changeset 52643 5cc8deb96b48
parent 51859 f4733654f144
--- a/hgext/remotefilelog/historypack.py	Sun Jan 05 22:12:02 2025 -0500
+++ b/hgext/remotefilelog/historypack.py	Sun Jan 05 22:23:31 2025 -0500
@@ -90,7 +90,7 @@
     SUPPORTED_VERSIONS = [2]
 
     def __init__(self, path):
-        super(historypack, self).__init__(path)
+        super().__init__(path)
         self.INDEXFORMAT = INDEXFORMAT2
         self.INDEXENTRYLENGTH = INDEXENTRYLENGTH2
 
@@ -430,7 +430,7 @@
     SUPPORTED_VERSIONS = [2]
 
     def __init__(self, ui, packpath, version=2):
-        super(mutablehistorypack, self).__init__(ui, packpath, version=version)
+        super().__init__(ui, packpath, version=version)
         self.files = {}
         self.entrylocations = {}
         self.fileentries = {}
@@ -510,7 +510,7 @@
 
         self._write()
 
-        return super(mutablehistorypack, self).close(ledger=ledger)
+        return super().close(ledger=ledger)
 
     def createindex(self, nodelocations, indexoffset):
         fileindexformat = self.INDEXFORMAT