예제 #1
0
 def build_debug_option_list(self):
     server = servers.get_debug_server()
     number_of_options = server.getnumoptions(
                                     self.module_name
                                     )
     for index in range(number_of_options):
         option_name = server.getoptionat(
                                 self.module_name, 
                                 index
                                 )
         option = DebugOption(
                         self.module_name, 
                         option_name
                         )
         self.debug_options.append(option)
예제 #2
0
 def __init__(self, module_name, name):
     self.module_name = module_name
     self.name = name
     self.server = servers.get_debug_server()
     self.type = self.__get_type_object()