VirtualMailManager/Config.py
changeset 95 fc008eb12186
parent 94 0d303d15549e
child 98 e992f03aace7
equal deleted inserted replaced
94:0d303d15549e 95:fc008eb12186
   129             if not self.getboolean('config', 'done'):
   129             if not self.getboolean('config', 'done'):
   130                 self.__changes = True
   130                 self.__changes = True
   131         except ValueError:
   131         except ValueError:
   132             self.set('config', 'done', 'False')
   132             self.set('config', 'done', 'False')
   133             self.__changes = True
   133             self.__changes = True
   134         print _(u"Using configuration file: %s\n" % self.__cfgFileName)
   134         print _(u"Using configuration file: %s\n") % self.__cfgFileName
   135         for s in sections:
   135         for s in sections:
   136             if s != 'config':
   136             if s != 'config':
   137                 print _(u'* Config section: »%s«') % s
   137                 print _(u'* Config section: »%s«') % s
   138             for opt, val in self.items(s):
   138             for opt, val in self.items(s):
   139                 newval = raw_input(
   139                 newval = raw_input(