diff options
| author | LV-426 <lv-426@taproot.org.il> | 2015-05-05 21:14:13 +0300 |
|---|---|---|
| committer | LV-426 <lv-426@taproot.org.il> | 2015-05-12 14:59:05 +0300 |
| commit | f28c6af4846a3fa31e80ddf218acf433290930b0 (patch) | |
| tree | 9b71a6fb6d5db2a00070f4919e0ea4aa9d76dc94 /src/server/rz_config.py | |
| parent | fecd18c77b8b991f7cb9e1eda052c78f5a419d0d (diff) | |
rename: config -> rz_config
Diffstat (limited to 'src/server/rz_config.py')
| -rw-r--r-- | src/server/rz_config.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server/rz_config.py b/src/server/rz_config.py index 65931544..4e7efa15 100644 --- a/src/server/rz_config.py +++ b/src/server/rz_config.py @@ -1,8 +1,8 @@ import os import re +import types - -class Config(object): +class RZ_Config(object): """ rhizi-server configuration @@ -81,7 +81,7 @@ class Config(object): cfg['rzdoc__mainpage_name'] = 'Welcome Rhizi' cfg['rzdoc__name__max_length'] = 256 - ret = Config() + ret = RZ_Config() ret.__dict__ = cfg # allows setting of @property attributes return ret @@ -91,7 +91,7 @@ class Config(object): if False == os.path.exists(file_path): raise Exception('config file not found: ' + file_path) - cfg = Config.generate_default() + cfg = RZ_Config.generate_default() cfg.config_dir = os.path.abspath(os.path.dirname(file_path)) # bypass prop restriction with open(file_path, 'r') as f: |
