diff options
author | kali <kali@leap.se> | 2012-08-23 23:22:36 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2012-08-23 23:25:10 +0900 |
commit | ae64232f5edbb71cbe871a7ae9c76c1839654795 (patch) | |
tree | 0a74ced95905bc707545725441cfbc2e937104ba /src/leap/base/connection.py | |
parent | 1da2cf6bbc64bfc624ea6fed9beb83d301f308d1 (diff) |
base config and json-config
an initial attempt at stablishing base classes
for config. we go with a jsonconfig by now, and
will switch to a different storage backend in near
future.
things will surely be broken at this state;
i'm splitting work on different commits.
Diffstat (limited to 'src/leap/base/connection.py')
-rw-r--r-- | src/leap/base/connection.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leap/base/connection.py b/src/leap/base/connection.py index 8cd78433..9cdc33fa 100644 --- a/src/leap/base/connection.py +++ b/src/leap/base/connection.py @@ -5,13 +5,13 @@ from __future__ import (division, unicode_literals, print_function) import logging -from leap.base.configuration import Configuration +from leap.base.config import JSONLeapConfig from leap.base.authentication import Authentication logger = logging.getLogger(name=__name__) -class Connection(Configuration, Authentication): +class Connection(JSONLeapConfig, Authentication): def __init__(self, *args, **kwargs): self.connection_state = None self.desired_connection_state = None |