Lines Matching refs:tool_name
103 tool_name = options.tool
104 if tool_name is None:
105 tool_name = 'no_tool_'
107 _is_valid_tool_name(tool_name)
108 return tool_name
111 def _is_valid_tool_name(tool_name): argument
116 if tool_name not in valid_tools:
118 tool_name,
122 def _import_tool_module(tool_name): argument
127 tool_name = tool_name.replace('-', '_')
130 module_info = imp.find_module(tool_name, [tools_directory])
132 return imp.load_module(tool_name, *module_info)
191 tool_name = _get_tool_name(options)
192 module = _import_tool_module(tool_name)