Skip to content

Commit dccce92

Browse files
author
brentru
committed
ref. mqtterror class in init
1 parent a97599c commit dccce92

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ install:
1616
- pip install .
1717

1818
script:
19-
- git clone https://github.com/adafruit/io-client-python.git
20-
- cd io-client-python/tests
19+
- cd docs && sphinx-build -E -W -b html . _build/html
20+
- cd ..
21+
- cd tests/
2122
- git checkout api-v2
22-
- python -m unittest discover
23-
- cd docs && sphinx-build -E -W -b html . _build/html
23+
- python -m unittest discover

Adafruit_IO/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
# SOFTWARE.
2121
from .client import Client
2222
from .mqtt_client import MQTTClient
23-
from .errors import AdafruitIOError, RequestError, ThrottlingError
23+
from .errors import AdafruitIOError, RequestError, ThrottlingError, MQTTError
2424
from .model import Data, Feed, Group
2525
from ._version import __version__

Adafruit_IO/errors.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ def __init__(self):
5858
"requests in a short period of time. Please reduce the rate of requests " \
5959
"and try again later.")
6060

61+
6162
class MQTTError(Exception):
6263
"""Handles connection attempt failed errors.
6364
"""

0 commit comments

Comments
 (0)