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:
parent
87f7593340
commit
79c2227131
3 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue