Skip to content

Commit

Permalink
Update version to 1.5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
rustybrooks committed Dec 5, 2019
1 parent 73a2755 commit 660d2ea
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion OTXv2.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def __init__(self, api_key, proxy=None, server="https://otx.alienvault.com", pro
self.request_session = None
self.headers = {
'X-OTX-API-KEY': self.key,
'User-Agent': user_agent or 'OTX Python {}/1.5.4'.format(project),
'User-Agent': user_agent or 'OTX Python {}/1.5.5'.format(project),
'Content-Type': 'application/json'
}

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@

setup(
name='OTXv2',
version='1.5.4',
version='1.5.5',
description='AlienVault OTX API',
author='AlienVault Team',
author_email='[email protected]',
url='https://github.com/AlienVault-Labs/OTX-Python-SDK',
download_url='https://github.com/AlienVault-Labs/OTX-Python-SDK/tarball/1.5.4',
download_url='https://github.com/AlienVault-Labs/OTX-Python-SDK/tarball/1.5.5',
py_modules=['OTXv2', 'IndicatorTypes','patch_pulse'],
install_requires=['requests', 'python-dateutil', 'pytz']
)
2 changes: 1 addition & 1 deletion tests/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ def _test_backoff(self):

def test_user_agent(self):
o = OTXv2(self.api_key, server=ALIEN_DEV_SERVER, project='foo')
self.assertEqual(o.headers['User-Agent'], 'OTX Python foo/1.5.4')
self.assertEqual(o.headers['User-Agent'], 'OTX Python foo/1.5.5')

o = OTXv2(self.api_key, server=ALIEN_DEV_SERVER, user_agent='foo')
self.assertEqual(o.headers['User-Agent'], 'foo')
Expand Down

0 comments on commit 660d2ea

Please sign in to comment.