Skip to content

Commit 08920e3

Browse files
committed
major refactor
1 parent aa97656 commit 08920e3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+453
-681
lines changed

Hologram/Api/Api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import logging
1010
from logging import NullHandler
1111

12-
from Exceptions.HologramError import ApiError
12+
from Hologram.Exceptions.HologramError import ApiError
1313
import requests
1414

1515
HOLOGRAM_REST_API_BASEURL = 'https://dashboard.hologram.io/api/1'

Hologram/Authentication/CSRPSKAuthentication.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# LICENSE: Distributed under the terms of the MIT License
1010
#
1111
import json
12-
from Exceptions.HologramError import AuthenticationError
12+
from Hologram.Exceptions.HologramError import AuthenticationError
1313
from Hologram.Authentication.HologramAuthentication import HologramAuthentication
1414

1515
DEVICE_KEY_LEN = 8

Hologram/CustomCloud.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,9 @@
99

1010
from collections import deque
1111
import socket
12-
import sys
1312
import threading
14-
import time
1513
from Hologram.Cloud import Cloud
16-
from Exceptions.HologramError import HologramError
14+
from Hologram.Exceptions.HologramError import HologramError
1715

1816
MAX_RECEIVE_BYTES = 1024
1917
MAX_QUEUED_CONNECTIONS = 5
File renamed without changes.

Hologram/Event/__init__.py

Lines changed: 0 additions & 2 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.

Hologram/HologramCloud.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from Hologram.CustomCloud import CustomCloud
1515
from HologramAuth import TOTPAuthentication, SIMOTPAuthentication
1616
from Hologram.Authentication import CSRPSKAuthentication
17-
from Exceptions.HologramError import HologramError
17+
from Hologram.Exceptions.HologramError import HologramError
1818

1919
DEFAULT_SEND_MESSAGE_TIMEOUT = 5
2020
HOLOGRAM_HOST_SEND = 'cloudsocket.hologram.io'

Hologram/Network/Modem/E303.py renamed to Hologram/Modem/Huawei/E303.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# LICENSE: Distributed under the terms of the MIT License
99
#
1010

11-
from Hologram.Network.Modem import Modem
11+
from Hologram.Modem import Modem
1212
from Hologram.Event import Event
1313

1414
DEFAULT_E303_TIMEOUT = 200

0 commit comments

Comments
 (0)