def set_(cmd):
    target, predicate = cmd['target'], cmd['predicate']
    # query
    if cmd['is_query']:
        
        # Plot all settings to new buffer and exit.
        if cmd['forced']:
            syntax = os.path.basename(target.settings().get('syntax'))
            target.run_command('inspect_file_settings', {
                                                'syntax': syntax,
                                                'pattern': predicate
                                                })
            return

        # No setting by that name.
        if not target.settings().has(predicate):
            sublime.status_message(predicate % 'No setting named "%s" found for this object.')
            return

        # Print single setting.
        msg = "%s = %s" % (predicate, target.settings().get(predicate))
        sublime.status_message(msg)
        return
    
    # execute
    try:
        name, _, value = predicate.partition(' ')
        target.settings().set(name, eval(value, {}, {}))
        msg = "%s = %s" % (name, target.settings().get(name))
        sublime.status_message(msg)
    except ValueError, e:
        sublime.status_message('Invalid syntax for "set" command.')
        raise e
dataset/ETHPy150Open SublimeText/SublimeCMD/actions.py/set_/swapped operands of `%`