def activate (self): if "activate_command" in self.properties and self.properties["activate_command"] != "": logger.debug ("Executing the activate command") utils.execute_command (self, self.properties["activate_command"]) elif "activate_url" in self.properties : utils.show_url (self.properties["activate_url"]) else: logger.warn('This account type has not an activate action')
def activate(self): if "activate_command" in self.properties and self.properties[ "activate_command"] != "": logger.debug("Executing the activate command") utils.execute_command(self, self.properties["activate_command"]) elif "activate_url" in self.properties: utils.show_url(self.properties["activate_url"]) else: logger.warn('This account type has not an activate action')
def activate (self): if "activate_url" in self.properties: utils.show_url (self.properties["activate_url"]) else: logger.warn('This account type has not an activate action')