"conf",
"build",
"enable_ccache",
- "enable_snapshot",
+ "disable_snapshot",
"confirm_callback",
NULL,
};
int offline = 0;
int build = 0;
int enable_ccache = 1;
- int enable_snapshot = 1;
+ int disable_snapshot = 1;
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|zzOppzpppO", kwlist,
&path, &arch, &self->callbacks.log, &interactive, &offline, &conf, &build,
- &enable_ccache, &enable_snapshot, &self->callbacks.confirm))
+ &enable_ccache, &disable_snapshot, &self->callbacks.confirm))
return -1;
// Check if log callback is callable
if (!enable_ccache)
flags |= PAKFIRE_FLAGS_DISABLE_CCACHE;
- if (!enable_snapshot)
+ if (disable_snapshot)
flags |= PAKFIRE_FLAGS_DISABLE_SNAPSHOT;
}