

def updateCommandMap(self):
    'Update the urwid command map with this keymap'
    for key in key.keytree.keys.values():
        for command in key.commands:
            if (command in URWID_COMMANDS):
                urwid.command_map[key.key] = command

dataset/ETHPy150Open openstack/gertty/gertty/keymap.py KeyMap.updateCommandMap/VarMisuse@15/37 `self`->`key`