equal
deleted
inserted
replaced
26 import constants.ERROR as ERR |
26 import constants.ERROR as ERR |
27 |
27 |
28 locale.setlocale(locale.LC_ALL, '') |
28 locale.setlocale(locale.LC_ALL, '') |
29 ENCODING = locale.nl_langinfo(locale.CODESET) |
29 ENCODING = locale.nl_langinfo(locale.CODESET) |
30 |
30 |
31 class VMMConfig(ConfigParser): |
31 class Config(ConfigParser): |
32 """This class is for configure the Virtual Mail Manager. |
32 """This class is for configure the Virtual Mail Manager. |
33 |
33 |
34 You can specify settings for the database connection |
34 You can specify settings for the database connection |
35 and maildirectories. |
35 and maildirectories. |
36 |
36 |
37 """ |
37 """ |
38 |
38 |
39 def __init__(self, filename): |
39 def __init__(self, filename): |
40 """Creates a new VMMConfig instance |
40 """Creates a new Config instance |
41 |
41 |
42 Keyword arguments: |
42 Keyword arguments: |
43 filename -- name of the configuration file |
43 filename -- name of the configuration file |
44 """ |
44 """ |
45 ConfigParser.__init__(self) |
45 ConfigParser.__init__(self) |