i18n/polib.py
changeset 52643 5cc8deb96b48
parent 52640 24ee91ba9aa8
child 52650 b95b12cb31e2
--- a/i18n/polib.py	Sun Jan 05 22:12:02 2025 -0500
+++ b/i18n/polib.py	Sun Jan 05 22:23:31 2025 -0500
@@ -408,7 +408,7 @@
         """
         if self.check_for_duplicates and entry in self:
             raise ValueError('Entry "%s" already exists' % entry.msgid)
-        super(_BaseFile, self).append(entry)
+        super().append(entry)
 
     def insert(self, index, entry):
         """
@@ -426,7 +426,7 @@
         """
         if self.check_for_duplicates and entry in self:
             raise ValueError('Entry "%s" already exists' % entry.msgid)
-        super(_BaseFile, self).insert(index, entry)
+        super().insert(index, entry)
 
     def metadata_as_entry(self):
         """