From: Michael Tremer Date: Sat, 12 Oct 2024 17:24:32 +0000 (+0000) Subject: python: Don't mess with the Gettext configuration X-Git-Tag: 0.9.30~1061 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6717b0da509945fae74f5ef1a908a97d86d1fb6b;p=pakfire.git python: Don't mess with the Gettext configuration Signed-off-by: Michael Tremer --- diff --git a/src/python/pakfiremodule.c b/src/python/pakfiremodule.c index 2213fff8d..92142b23d 100644 --- a/src/python/pakfiremodule.c +++ b/src/python/pakfiremodule.c @@ -20,7 +20,6 @@ #define PY_SSIZE_T_CLEAN #include -#include #include #include @@ -120,11 +119,6 @@ static struct PyModuleDef moduledef = { }; PyMODINIT_FUNC PyInit_pakfire(void) { - /* Initialize locale */ - setlocale(LC_ALL, ""); - bindtextdomain(PACKAGE_TARNAME, "/usr/share/locale"); - textdomain(PACKAGE_TARNAME); - // Create the module PyObject* module = PyModule_Create(&moduledef); if (!module)