Skip to content

Commit ef80bb7

Browse files
committed
Merge branch 'release/0.6.2'
2 parents 1dd604a + 2632d07 commit ef80bb7

File tree

5 files changed

+13
-4
lines changed

5 files changed

+13
-4
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ deploy:
2222
secure: HDdWhCTXRqlWslYJ2yNEq4ObVlqjBgBMQb1ZiwkMFWc28uDR4L8jrtyEgiu1EqVEHFACSHM52ktd92Baufiv350qwpu2enljM2XA3hYTqYkM2dp/ItsKYZ/4QUkfnWUekebav1FkoPpoFMWkAeoDkQwVTKexJTqTwTnr1atTA7Q=
2323
on:
2424
tags: true
25+
python: 3.5
2526

HISTORY.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@
33
History
44
=======
55

6+
0.6.2
7+
-----
8+
9+
Released: 2018-05-03
10+
11+
Status: Alpha
12+
13+
- Fixed: issue in error checking
14+
615
0.6.1
716
-----
817

pandevice/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
__author__ = 'Palo Alto Networks'
2525
__email__ = '[email protected]'
26-
__version__ = '0.6.1'
26+
__version__ = '0.6.2'
2727

2828

2929
import logging

pandevice/base.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3193,8 +3193,7 @@ def classify_exception(self, e):
31933193
# This could be that we have an old version of OpenSSL
31943194
# that doesn't support TLSv1.1, so check for that and give
31953195
# a more explicit error if so.
3196-
suspect_error = 'URLError: reason: [Errno 54] Connection reset by peer'
3197-
if e.message == suspect_error:
3196+
if str(e) == 'URLError: reason: [Errno 54] Connection reset by peer':
31983197
min_openssl_version = ['1', '0', '1']
31993198
help_url = 'http://pandevice.readthedocs.io/en/latest/usage.html#connecting-to-pan-os-8-0'
32003199
try:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
setup(
2525
name='pandevice',
26-
version='0.6.1',
26+
version='0.6.2',
2727
description='Framework for interacting with Palo Alto Networks devices via API',
2828
long_description='The Palo Alto Networks Device Framework is a way to interact with Palo Alto Networks devices (including Next-generation Firewalls and Panorama) using the device API that is object oriented and conceptually similar to interaction with the device via the GUI or CLI.',
2929
author='Palo Alto Networks',

0 commit comments

Comments
 (0)