Skip to content

Commit 0505f65

Browse files
committed
Release of version 1.1.1
1 parent 41ead94 commit 0505f65

File tree

9 files changed

+18
-32
lines changed

9 files changed

+18
-32
lines changed

AWSIoTPythonSDK/MQTTLib.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
# */
1616

1717
# import mqttCore
18-
import core.protocol.mqttCore as mqttCore
18+
import AWSIoTPythonSDK.core.protocol.mqttCore as mqttCore
1919
# import shadowManager
20-
import core.shadow.shadowManager as shadowManager
20+
import AWSIoTPythonSDK.core.shadow.shadowManager as shadowManager
2121
# import deviceShadow
22-
import core.shadow.deviceShadow as deviceShadow
22+
import AWSIoTPythonSDK.core.shadow.deviceShadow as deviceShadow
2323
# Constants
2424
# - Protocol types:
2525
MQTTv3_1 = 3

AWSIoTPythonSDK/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import os
22
import sys
33

4-
__version__ = "1.1.0"
4+
__version__ = "1.1.1"
55

66

CHANGELOG.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
CHANGELOG
33
=========
44

5+
1.1.1
6+
=====
7+
* bugfix:Issue:`#23 <https://github.com/aws/aws-iot-device-sdk-python/issues/23>`__
8+
* bugfix:README documentation
9+
10+
511
1.1.0
612
=====
713
* feature:AWSIoTMQTTClient:last will configuration APIs

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -328,9 +328,9 @@ default configuration for backoff timing will be performed on initialization:
328328

329329
.. code-block:: python
330330
331-
baseReconnectQuietTimeSecond = 1;
332-
maxReconnectQuietTimeSecond = 32;
333-
stableConnectionTimeSecond = 20;
331+
baseReconnectQuietTimeSecond = 1
332+
maxReconnectQuietTimeSecond = 32
333+
stableConnectionTimeSecond = 20
334334
335335
Offline Publish Requests Queueing with Draining
336336
_______________________________________________

samples/ThingShadowEcho/ThingShadowEcho.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,7 @@ def customShadowCallback_Delta(self, payload, responseStatus, token):
115115
exit(2)
116116

117117
# Configure logging
118-
logger = None
119-
if sys.version_info[0] == 3:
120-
logger = logging.getLogger("core") # Python 3
121-
else:
122-
logger = logging.getLogger("AWSIoTPythonSDK.core") # Python 2
118+
logger = logging.getLogger("AWSIoTPythonSDK.core")
123119
logger.setLevel(logging.DEBUG)
124120
streamHandler = logging.StreamHandler()
125121
formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')

samples/basicPubSub/basicPubSub.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,7 @@ def customCallback(client, userdata, message):
104104
exit(2)
105105

106106
# Configure logging
107-
logger = None
108-
if sys.version_info[0] == 3:
109-
logger = logging.getLogger("core") # Python 3
110-
else:
111-
logger = logging.getLogger("AWSIoTPythonSDK.core") # Python 2
107+
logger = logging.getLogger("AWSIoTPythonSDK.core")
112108
logger.setLevel(logging.DEBUG)
113109
streamHandler = logging.StreamHandler()
114110
formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')

samples/basicPubSub/basicPubSub_CognitoSTS.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,7 @@ def customCallback(client, userdata, message):
8888
exit(2)
8989

9090
# Configure logging
91-
logger = None
92-
if sys.version_info[0] == 3:
93-
logger = logging.getLogger("core") # Python 3
94-
else:
95-
logger = logging.getLogger("AWSIoTPythonSDK.core") # Python 2
91+
logger = logging.getLogger("AWSIoTPythonSDK.core")
9692
logger.setLevel(logging.DEBUG)
9793
streamHandler = logging.StreamHandler()
9894
formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')

samples/basicShadow/basicShadowDeltaListener.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,7 @@ def customShadowCallback_Delta(payload, responseStatus, token):
121121
exit(2)
122122

123123
# Configure logging
124-
logger = None
125-
if sys.version_info[0] == 3:
126-
logger = logging.getLogger("core") # Python 3
127-
else:
128-
logger = logging.getLogger("AWSIoTPythonSDK.core") # Python 2
124+
logger = logging.getLogger("AWSIoTPythonSDK.core")
129125
logger.setLevel(logging.DEBUG)
130126
streamHandler = logging.StreamHandler()
131127
formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')

samples/basicShadow/basicShadowUpdater.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -135,11 +135,7 @@ def customShadowCallback_Delete(payload, responseStatus, token):
135135
exit(2)
136136

137137
# Configure logging
138-
logger = None
139-
if sys.version_info[0] == 3:
140-
logger = logging.getLogger("core") # Python 3
141-
else:
142-
logger = logging.getLogger("AWSIoTPythonSDK.core") # Python 2
138+
logger = logging.getLogger("AWSIoTPythonSDK.core")
143139
logger.setLevel(logging.DEBUG)
144140
streamHandler = logging.StreamHandler()
145141
formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')

0 commit comments

Comments
 (0)