--- a/VirtualMailManager/VirtualMailManager.py Sat Jan 30 05:15:21 2010 +0000
+++ b/VirtualMailManager/VirtualMailManager.py Mon Feb 01 18:46:17 2010 +0000
@@ -445,11 +445,10 @@
Keyword arguments:
section -- the section to configure (default None):
- 'database', 'maildir', 'bin' or 'misc'
"""
if section is None:
self.__Cfg.configure(self.__Cfg.getsections())
- elif section in self.__Cfg.getsections():
+ elif self.__Cfg.has_section(section):
self.__Cfg.configure([section])
else:
raise VMMException(_(u"Invalid section: ā%sā") % section,