From 6717b0da509945fae74f5ef1a908a97d86d1fb6b Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 12 Oct 2024 17:24:32 +0000 Subject: [PATCH] python: Don't mess with the Gettext configuration Signed-off-by: Michael Tremer --- src/python/pakfiremodule.c | 6 ------ 1 file changed, 6 deletions(-) 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) -- 2.47.2