Remove arguments in super() calls.

They are no more needed in Python3 and usually result in unexpected
behavior when wrongly used (like e.g. the one introduced in
764cacc091 and solved meanwhile by
refactorization).
This commit is contained in:
Mathias Behrle 2024-12-12 09:45:12 +01:00 committed by Frederik Jaeckel
parent 93a60873f6
commit a01aa12cc0
3 changed files with 6 additions and 6 deletions

View file

@ -70,7 +70,7 @@ class XRechnung(EdocumentMixin, Invoice):
else:
raise ValueError('invalid type-code "%s"' % self.type_code)
else:
return super(XRechnung, self)._get_template(version)
return super()._get_template(version)
# end XRechnung
@ -92,6 +92,6 @@ class FacturX(EdocumentMixin, Invoice):
else:
raise ValueError('invalid type-code "%s"' % self.type_code)
else:
return super(FacturX, self)._get_template(version)
return super()._get_template(version)
# end FacturX