From: Nick Porter Date: Tue, 23 May 2023 14:46:14 +0000 (+0100) Subject: Remove pre Python 3.7 code X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f9ff6d3e319f30a26e4e4f15ed4408fc751ab2f;p=thirdparty%2Ffreeradius-server.git Remove pre Python 3.7 code --- diff --git a/src/modules/rlm_python/rlm_python.c b/src/modules/rlm_python/rlm_python.c index cada68df24b..7dd657601a0 100644 --- a/src/modules/rlm_python/rlm_python.c +++ b/src/modules/rlm_python/rlm_python.c @@ -1093,13 +1093,6 @@ static int mod_load(void) */ default_path = Py_EncodeLocale(Py_GetPath(), NULL); - /* - * As of 3.7 this is called by Py_Initialize - */ -#if PY_VERSION_HEX < 0x03070000 - PyEval_InitThreads(); /* This also grabs a lock (which we then need to release) */ -#endif - /* * Set program name (i.e. the software calling the interpreter) */