summaryrefslogtreecommitdiff
path: root/src/leap
diff options
context:
space:
mode:
authorIsis Lovecruft <isis@torproject.org>2013-02-16 23:15:31 +0000
committerIsis Lovecruft <isis@torproject.org>2013-02-16 23:15:31 +0000
commitd3bc6e22b618771e02b2941f573759a8021e8752 (patch)
treed00a061fcfe5e812cd0f0193a67567f537b04eb2 /src/leap
parent91d70343acecb1b2225cf94024d738c053eff4c3 (diff)
Fix imports in leap/mx/util/config.py to reflect move of util/ directory, and
setup default config storage.Storage() modified dictionary objects for YAML configs.
Diffstat (limited to 'src/leap')
-rw-r--r--src/leap/mx/util/config.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/leap/mx/util/config.py b/src/leap/mx/util/config.py
index 5be66b1..3eb4cdb 100644
--- a/src/leap/mx/util/config.py
+++ b/src/leap/mx/util/config.py
@@ -34,12 +34,13 @@ from os import path as ospath
import sys
import yaml
-## xxx only install/import this in *nix
-from xdg import BaseDirectory
+from leap.mx.util import version, storage
+from leap.mx.exceptions import MissingConfig, UnsupportedOS
-from leap.util import log, version, Storage
-from leap.util.exceptions import MissingConfig, UnsupportedOS
+filename = None
+basic = storage.Storage()
+advanced = storage.Storage()
def _create_config_file(file):
"""