def __init__(self, name, console, w3af, parent=None, **other): self._name = name self._history = history() self._help = HelpContainer() self._keysHelp = HelpContainer() self._w3af = w3af self._handlers = {} self._parent = parent self._console = console self._children = {} self._child_call = False self._load_help('common') helpMainRepository.load_help('keys', self._keysHelp) # self._keysHelp = {} self._initHandlers()
def _load_help(self, name, vars=None): helpMainRepository.load_help(name, self._help, vars)