コード例 #1
0
 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')
コード例 #2
0
 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')
コード例 #3
0
 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')