Skip to content

Commit

Permalink
Merge pull request #45 from iconfinder/fix/python-2-compat
Browse files Browse the repository at this point in the history
Add arguments to super() call
  • Loading branch information
JanmanX authored Feb 3, 2021
2 parents abe226a + 319d220 commit f518e0a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyvat/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from .vat_rules import VAT_RULES


__version__ = '1.3.14'
__version__ = '1.3.15'


WHITESPACE_EXPRESSION = re.compile(r'[\s\-]+')
Expand Down
2 changes: 1 addition & 1 deletion pyvat/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class ServerError(Exception):
def __init__(self, fault_code):
super().__init__("ServerError: {}".format(fault_code))
super(ServerError, self).__init__("ServerError: {}".format(fault_code))
self.fault_code = fault_code
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

setup(
name='pyvat',
version='1.3.14',
version='1.3.15',
description='VAT validation for Python',
long_description=long_description,
long_description_content_type="text/x-rst",
Expand Down

0 comments on commit f518e0a

Please sign in to comment.