* 'VirtualMailManager/Config.py'
authorPascal Volk <neverseen@users.sourceforge.net>
Tue, 19 Aug 2008 02:56:01 +0000
changeset 49 9bd033177377
parent 48 0d5f58f8b8f5
child 50 927b0705d31a
* 'VirtualMailManager/Config.py' - Renamed class VMMConfig -> Config * 'VirtualMailManager/VirtualMailManager.py' - Adjusted Config import * 'vmm' - Removed VMMConfig import
VirtualMailManager/Config.py
VirtualMailManager/VirtualMailManager.py
vmm
--- a/VirtualMailManager/Config.py	Tue Aug 19 02:40:43 2008 +0000
+++ b/VirtualMailManager/Config.py	Tue Aug 19 02:56:01 2008 +0000
@@ -28,7 +28,7 @@
 locale.setlocale(locale.LC_ALL, '')
 ENCODING = locale.nl_langinfo(locale.CODESET)
 
-class VMMConfig(ConfigParser):
+class Config(ConfigParser):
     """This class is for configure the Virtual Mail Manager.
 
     You can specify settings for the database connection
@@ -37,7 +37,7 @@
     """
 
     def __init__(self, filename):
-        """Creates a new VMMConfig instance
+        """Creates a new Config instance
 
         Keyword arguments:
         filename -- name of the configuration file
--- a/VirtualMailManager/VirtualMailManager.py	Tue Aug 19 02:40:43 2008 +0000
+++ b/VirtualMailManager/VirtualMailManager.py	Tue Aug 19 02:56:01 2008 +0000
@@ -25,7 +25,7 @@
 
 from Exceptions import *
 import constants.ERROR as ERR
-from Config import VMMConfig as Cfg
+from Config import Config as Cfg
 from Account import Account
 from Alias import Alias
 from Domain import Domain
--- a/vmm	Tue Aug 19 02:40:43 2008 +0000
+++ b/vmm	Tue Aug 19 02:56:01 2008 +0000
@@ -20,7 +20,6 @@
 from time import strftime, strptime
 
 from VirtualMailManager.VirtualMailManager import VirtualMailManager
-from VirtualMailManager.Config import VMMConfig
 import VirtualMailManager.Exceptions as VMME
 import VirtualMailManager.constants.EXIT as EXIT
 import VirtualMailManager.constants.ERROR as ERR