]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Remove pre Python 3.7 code
authorNick Porter <nick@portercomputing.co.uk>
Tue, 23 May 2023 14:46:14 +0000 (15:46 +0100)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 25 May 2023 13:43:52 +0000 (09:43 -0400)
src/modules/rlm_python/rlm_python.c

index cada68df24beb122604ea41215b0cc72243d2bdf..7dd657601a0b8823b80ee973ce8a197e6f9e726c 100644 (file)
@@ -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)
         */