def get(self, command):
        if not isinstance(command, Command):
            command = Command(command)
        try:
            return self._keymap[command]
        except __HOLE__:
            raise exceptions.ConfigError('Invalid configuration! `%s` key is '
                                         'undefined' % command.val)
dataset/ETHPy150Open michael-lazar/rtv/rtv/objects.py/KeyMap.get