VirtualMailManager/Config.py
changeset 53 5b50eb306d37
parent 51 f5ca21303871
child 68 7ae95b9938c4
equal deleted inserted replaced
52:c152d7714802 53:5b50eb306d37
   114 
   114 
   115         Keyword arguments:
   115         Keyword arguments:
   116         sections -- list of strings
   116         sections -- list of strings
   117         """
   117         """
   118         if not isinstance(sections, list):
   118         if not isinstance(sections, list):
   119             raise TypeError(_(u"Argument 'sections' is not a list."))
   119             raise TypeError("Argument 'sections' is not a list.")
   120         # if [config] done = false (default at 1st run),
   120         # if [config] done = false (default at 1st run),
   121         # then set changes true
   121         # then set changes true
   122         try:
   122         try:
   123             if not self.getboolean('config', 'done'):
   123             if not self.getboolean('config', 'done'):
   124                 self.__changes = True
   124                 self.__changes = True