VirtualMailManager/Config.py
changeset 103 edac75d0b435
parent 102 485d3f7d6981
child 112 d1f345f91e1c
equal deleted inserted replaced
102:485d3f7d6981 103:edac75d0b435
   123             if not self.getboolean('config', 'done'):
   123             if not self.getboolean('config', 'done'):
   124                 self.__changes = True
   124                 self.__changes = True
   125         except ValueError:
   125         except ValueError:
   126             self.set('config', 'done', 'False')
   126             self.set('config', 'done', 'False')
   127             self.__changes = True
   127             self.__changes = True
   128         print _(u"Using configuration file: %s\n") % self.__cfgFileName
   128         print _(u"Using configuration file: %s\n").encode(ENCODING,
       
   129                 'replace') % self.__cfgFileName
   129         for s in sections:
   130         for s in sections:
   130             if s != 'config':
   131             if s != 'config':
   131                 print _(u'* Config section: »%s«').encode(ENCODING,'replace')%s
   132                 print _(u'* Config section: »%s«').encode(ENCODING,'replace')%s
   132             for opt, val in self.items(s):
   133             for opt, val in self.items(s):
   133                 newval = raw_input(
   134                 newval = raw_input(