Skip to content

Commit

Permalink
fixed minor python 3 issues
Browse files Browse the repository at this point in the history
  • Loading branch information
codingjoe committed Oct 15, 2014
1 parent e464b0f commit e17c136
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion setup.py
Expand Up @@ -45,7 +45,6 @@ def run(self):
],
packages=['vies'],
include_package_data=True,
requires=['django (>=1.4)', 'suds-jurko (>=0.6)', 'retrying (>=1.1.0)'],
install_requires=['django>=1.4', 'suds-jurko>=0.6', 'retrying>=1.1.0'],
cmdclass={'test': PyTest},
)
4 changes: 2 additions & 2 deletions vies/tests.py
Expand Up @@ -52,7 +52,7 @@ def setUp(self):
def test_creation(self):
try:
VATIN(VALID_VIES_COUNTRY_CODE, VALID_VIES_NUMBER)
except Exception, e:
except Exception as e:
self.fail(e.message)

def test_verified(self):
Expand Down Expand Up @@ -183,5 +183,5 @@ def test_VATINField_admin(self):

try:
ma.get_form(request)
except Exception, e:
except Exception as e:
self.fail(e.message)

0 comments on commit e17c136

Please sign in to comment.