Skip to content

Commit

Permalink
Merge pull request #8 from albundy83/python3.9
Browse files Browse the repository at this point in the history
Python3.9 support
  • Loading branch information
wbrefvem authored May 5, 2021
2 parents 544f4b1 + 5ddb192 commit e1bd1e7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ python:
- 3.6
- 3.7
- 3.8
- 3.9
install:
- python setup.py develop
before_script:
Expand All @@ -19,7 +20,7 @@ notifications:
jobs:
include:
- stage: PyPI and GitHub release
python: 3.8
python: 3.9
deploy:
- provider: releases
api_key:
Expand Down
4 changes: 2 additions & 2 deletions jolokia/utils/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def _new_func(*args, **kwargs):
argument = kwargs[arg]
LOGGER.debug(argument)
return func(*args, **kwargs)
except KeyError:
raise IllegalArgumentException(err_msg)
except KeyError as ke_except:
raise IllegalArgumentException(err_msg) from ke_except
return _new_func
return _wrapper
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

setup(
name='jolokia',
version='0.3.1',
version='0.3.2',
description='A Python Jolokia client',
long_description=long_description,
url='https://github.com/wbrefvem/python-jolokia',
Expand All @@ -33,6 +33,10 @@
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],

keywords='jolokia http jmx',
Expand Down

0 comments on commit e1bd1e7

Please sign in to comment.