diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-01-07 23:58:28 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-01-07 23:58:28 +0100 |
commit | 6eaa7bb25e2254c80c43fe46166142d590e86c64 (patch) | |
tree | 103b12d2f8ca59cf84c7511018d99c3cb651839f /module/config/ConfigParser.py | |
parent | xfilesharingpro - fix patterns (diff) | |
download | pyload-6eaa7bb25e2254c80c43fe46166142d590e86c64.tar.xz |
some cleanups
Diffstat (limited to 'module/config/ConfigParser.py')
-rw-r--r-- | module/config/ConfigParser.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/module/config/ConfigParser.py b/module/config/ConfigParser.py index d7ecab5a0..a9e74dd20 100644 --- a/module/config/ConfigParser.py +++ b/module/config/ConfigParser.py @@ -4,15 +4,14 @@ from __future__ import with_statement from time import sleep from os.path import exists from gettext import gettext +from new_collections import namedtuple, OrderedDict +from module.utils import from_string from module.utils.fs import chmod -CONF_VERSION = 2 - -from converter import from_string -from new_collections import namedtuple, OrderedDict from default import make_config +CONF_VERSION = 2 SectionTuple = namedtuple("SectionTuple", "name description long_desc config") ConfigData = namedtuple("ConfigData", "name type description default") |