aboutsummaryrefslogtreecommitdiff
path: root/pandora
diff options
context:
space:
mode:
authorMike Crute <mike@crute.us>2017-10-07 01:06:00 +0000
committerMike Crute <mike@crute.us>2017-10-07 01:06:02 +0000
commit1ff624aaf720f6e953c8475ad56a7a59f47ea956 (patch)
treee7ada66e9bb444d461720983f1b0e70bdf5aafba /pandora
parent44570223ea9c72ef8c89ea76632df1ecb69b5fab (diff)
downloadpydora-1ff624aaf720f6e953c8475ad56a7a59f47ea956.tar.bz2
pydora-1ff624aaf720f6e953c8475ad56a7a59f47ea956.tar.xz
pydora-1ff624aaf720f6e953c8475ad56a7a59f47ea956.zip
Import directly from modules
Importing from the base of a module is deprecated and will be removed in a future major version. Nothing internally should be doing this.
Diffstat (limited to 'pandora')
-rw-r--r--pandora/clientbuilder.py3
-rw-r--r--pandora/models/pandora.py4
2 files changed, 4 insertions, 3 deletions
diff --git a/pandora/clientbuilder.py b/pandora/clientbuilder.py
index 6c29678..53abdf4 100644
--- a/pandora/clientbuilder.py
+++ b/pandora/clientbuilder.py
@@ -7,7 +7,8 @@ configuration formats into a fully built APIClient.
7import os.path 7import os.path
8 8
9from .py2compat import ConfigParser 9from .py2compat import ConfigParser
10from . import Encryptor, APITransport, DEFAULT_API_HOST, APIClient 10from .client import APIClient
11from .transport import Encryptor, APITransport, DEFAULT_API_HOST
11 12
12 13
13class TranslatingDict(dict): 14class TranslatingDict(dict):
diff --git a/pandora/models/pandora.py b/pandora/models/pandora.py
index 3ffac7d..c041b40 100644
--- a/pandora/models/pandora.py
+++ b/pandora/models/pandora.py
@@ -1,6 +1,6 @@
1from .. import BaseAPIClient 1from ..client import BaseAPIClient
2from . import Field, PandoraModel, PandoraListModel, PandoraDictListModel
3from ..errors import ParameterMissing 2from ..errors import ParameterMissing
3from . import Field, PandoraModel, PandoraListModel, PandoraDictListModel
4 4
5 5
6class Station(PandoraModel): 6class Station(PandoraModel):