hgext/largefiles/lfutil.py
changeset 52643 5cc8deb96b48
parent 52640 24ee91ba9aa8
--- a/hgext/largefiles/lfutil.py	Sun Jan 05 22:12:02 2025 -0500
+++ b/hgext/largefiles/lfutil.py	Sun Jan 05 22:23:31 2025 -0500
@@ -167,12 +167,10 @@
     #   be in unix form for the superclass?
 
     def set_tracked(self, f, reset_copy=False):
-        return super(largefilesdirstate, self).set_tracked(
-            unixpath(f), reset_copy=reset_copy
-        )
+        return super().set_tracked(unixpath(f), reset_copy=reset_copy)
 
     def set_untracked(self, f):
-        return super(largefilesdirstate, self).set_untracked(unixpath(f))
+        return super().set_untracked(unixpath(f))
 
     def _dirignore(self, f):
         return False
@@ -183,7 +181,7 @@
         # (2) avoid develwarn 'use dirstate.write with ....'
         if tr:
             tr.addbackup(b'largefiles/dirstate', location=b'plain')
-        super(largefilesdirstate, self).write(None)
+        super().write(None)
 
 
 def openlfdirstate(ui, repo, create=True):