return NULL;
}
- const int flags = 0;
-
// How many new files do we have?
ssize_t num_files = PySequence_Length(list);
if (num_files < 0)
Py_BEGIN_ALLOW_THREADS
- int r = pakfire_repo_compose(self->pakfire, path, flags, files);
+ int r = pakfire_repo_compose(self->pakfire, path, files);
if (r) {
Py_BLOCK_THREADS
PyErr_SetFromErrno(PyExc_OSError);
// Compose
-int pakfire_repo_compose(struct pakfire* pakfire, const char* path, int flags,
+int pakfire_repo_compose(struct pakfire* pakfire, const char* path,
const char** files);
#ifdef PAKFIRE_PRIVATE
}
PAKFIRE_EXPORT int pakfire_repo_compose(struct pakfire* pakfire, const char* path,
- int flags, const char** files) {
+ const char** files) {
struct pakfire_repo* repo = NULL;
char realpath[PATH_MAX];
char baseurl[PATH_MAX];
// Compose the repository
ASSERT_SUCCESS(
- pakfire_repo_compose(t->pakfire, path, 0, files)
+ pakfire_repo_compose(t->pakfire, path, files)
);
// Everything passed