]> git.ipfire.org Git - pakfire.git/commitdiff
python: Reformat some code
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 12 Oct 2024 17:35:15 +0000 (17:35 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 12 Oct 2024 17:35:15 +0000 (17:35 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/python/pakfiremodule.c

index 4a4712ea6b34b9bc6d79eceba042606f0345f7a4..37edc22b7c2de91cadf4a5ef157878596021080f 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <pakfire/arch.h>
 #include <pakfire/dependencies.h>
-#include <pakfire/key.h>
 
 #include "archive.h"
 #include "archive_file.h"
@@ -101,14 +100,19 @@ static PyObject* Pakfire_version_compare(PyObject* self, PyObject* args) {
 }
 
 static PyMethodDef pakfireModuleMethods[] = {
-       {"supported_arches", (PyCFunction)Pakfire_supported_arches, METH_NOARGS, NULL },
+       {
+               "supported_arches",
+               (PyCFunction)Pakfire_supported_arches,
+               METH_NOARGS,
+               NULL,
+       },
        {
                "version_compare",
                (PyCFunction)Pakfire_version_compare,
                METH_VARARGS,
                NULL,
        },
-       { NULL, NULL, 0, NULL }
+       { NULL, NULL, 0, NULL },
 };
 
 static struct PyModuleDef moduledef = {