def process(self, *args, **kwds): """Method invoked by the command line parser when it sees this option on the command line. This method simply makes note of the fact that the option was seen on the command line, and calls the superclass. """ self._seen = True return Option.process(self, *args, **kwds)
def process (self, opt, value, values, parser): setattr(values, '__seen_' + self.dest, True) return Option.process(self, opt, value, values, parser)
def process(self, opt, value, values, parser): Option.process(self, opt, value, values, parser) parser.option_seen[self] = 1
def process(self, opt, value, values, parser): setattr(values, '__seen_' + self.dest, True) return Option.process(self, opt, value, values, parser)
def process (self, opt, value, values, parser): Option.process(self, opt, value, values, parser) parser.option_seen[self] = 1
def process(self, *args): # uuhh... See optparse.py if this doesn't make sense ini_option = self.get_opt_string().replace('--', '').replace('-', '_') if ini_option != 'create': OptionsMemory.changed.append(ini_option) Option.process(self, *args)
def process(self, opt, value, values, parser): if self.action in self.TYPE_HANDLING_ACTIONS: return self.take_action(self.action, self.dest, opt, value, values, parser) else: return _Option.process(self, opt, value, values, parser)
def process(self, *args): # uuhh... See optparse.py if this doesn't make sense ini_option = self.get_opt_string().replace('--','').replace('-', '_') if ini_option != 'create': OptionsMemory.changed.append(ini_option) Option.process(self, *args)