VirtualMailManager/__init__.py
branchv0.6.x
changeset 272 446483386914
parent 262 6eea85d8b91d
child 316 31d8931dc535
--- a/VirtualMailManager/__init__.py	Wed Apr 28 05:37:14 2010 +0000
+++ b/VirtualMailManager/__init__.py	Wed Apr 28 09:00:02 2010 +0000
@@ -18,7 +18,7 @@
     # version information from VERSION
     '__author__', '__date__', '__version__',
     # defined stuff
-    'ENCODING', 'Configuration', 'set_configuration',
+    'ENCODING',
 ]
 
 
@@ -30,15 +30,4 @@
     locale.setlocale(locale.LC_ALL, 'C')
 ENCODING = locale.nl_langinfo(locale.CODESET)
 
-Configuration = None
-
 gettext.install('vmm', '/usr/local/share/locale', unicode=1)
-
-
-def set_configuration(cfg_obj):
-    """Assigns the *cfg_obj* to the global `Configuration`.
-    *cfg_obj* has to be a `VirtualMailManager.Config.Config` instance."""
-    from VirtualMailManager.Config import Config
-    assert isinstance(cfg_obj, Config)
-    global Configuration
-    Configuration = cfg_obj