def extend_script_args(args, shortcut):
    try:
        args.append(shortcut['scriptargument'])
    except __HOLE__:
        pass
    try:
        args.extend(shortcut['scriptarguments'])
    except KeyError:
        pass
dataset/ETHPy150Open ContinuumIO/menuinst/menuinst/win32.py/extend_script_args