def __init__(self, *args, **kwargs): BaseParser.__init__(self, *args, **kwargs) auth_group = OptionGroup(self, "Authentication Options") for option in self.auth_option_list: auth_group.add_option(option) self.add_option_group(auth_group) for option in self.extra_option_list: self.add_option(option)
def __init__(self, *args, **kwargs): BaseParser.__init__(self, *args, **kwargs) auth_group = OptionGroup(self, "Authentication Options") for option in self.auth_option_list: auth_group.add_option(option) self.add_option_group(auth_group) for option in self.extra_option_list: self.add_option(option)
def __init__(self, protocol, *args, **kwargs): self.protocol = protocol BaseParser.__init__(self, *args, **kwargs) for option in self.whois_option_list: self.add_option(option)
def __init__(self, protocol, *args, **kwargs): self.protocol = protocol BaseParser.__init__(self, *args, **kwargs) for option in self.whois_option_list: self.add_option(option)