equal
deleted
inserted
replaced
389 if optdescr[0] == 'added': |
389 if optdescr[0] == 'added': |
390 optdict = self.config.get_option_def(optdescr[1]) |
390 optdict = self.config.get_option_def(optdescr[1]) |
391 if optdict.get('default') is REQUIRED: |
391 if optdict.get('default') is REQUIRED: |
392 self.config.input_option(optdescr[1], optdict) |
392 self.config.input_option(optdescr[1], optdict) |
393 self.config.generate_config(open(newconfig, 'w')) |
393 self.config.generate_config(open(newconfig, 'w')) |
394 show_diffs(configfile, newconfig, ask_confirm=self.confirm is not yes) |
394 show_diffs(configfile, newconfig, askconfirm=self.confirm is not yes) |
395 os.close(fd) |
395 os.close(fd) |
396 if exists(newconfig): |
396 if exists(newconfig): |
397 os.unlink(newconfig) |
397 os.unlink(newconfig) |
398 |
398 |
399 |
399 |