Skip to content

Commit e1bd1e7

Browse files
authored
Merge pull request #8 from albundy83/python3.9
Python3.9 support
2 parents 544f4b1 + 5ddb192 commit e1bd1e7

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ python:
44
- 3.6
55
- 3.7
66
- 3.8
7+
- 3.9
78
install:
89
- python setup.py develop
910
before_script:
@@ -19,7 +20,7 @@ notifications:
1920
jobs:
2021
include:
2122
- stage: PyPI and GitHub release
22-
python: 3.8
23+
python: 3.9
2324
deploy:
2425
- provider: releases
2526
api_key:

jolokia/utils/decorators.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def _new_func(*args, **kwargs):
1818
argument = kwargs[arg]
1919
LOGGER.debug(argument)
2020
return func(*args, **kwargs)
21-
except KeyError:
22-
raise IllegalArgumentException(err_msg)
21+
except KeyError as ke_except:
22+
raise IllegalArgumentException(err_msg) from ke_except
2323
return _new_func
2424
return _wrapper

setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
setup(
1313
name='jolokia',
14-
version='0.3.1',
14+
version='0.3.2',
1515
description='A Python Jolokia client',
1616
long_description=long_description,
1717
url='https://github.com/wbrefvem/python-jolokia',
@@ -33,6 +33,10 @@
3333
'Programming Language :: Python :: 3.3',
3434
'Programming Language :: Python :: 3.4',
3535
'Programming Language :: Python :: 3.5',
36+
'Programming Language :: Python :: 3.6',
37+
'Programming Language :: Python :: 3.7',
38+
'Programming Language :: Python :: 3.8',
39+
'Programming Language :: Python :: 3.9',
3640
],
3741

3842
keywords='jolokia http jmx',

0 commit comments

Comments
 (0)