VirtualMailManager/VirtualMailManager.py
branchv0.6.x
changeset 180 f8279c90e99c
parent 175 b241272eb1bd
child 182 84811fcc3c69
--- 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,