From be0f6c624c3018353e0090f250aa0023d95b94a4 Mon Sep 17 00:00:00 2001 From: Eric Snow Date: Wed, 24 May 2017 22:33:11 -0700 Subject: [PATCH] Drop a duplicate line. --- Python/pylifecycle.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c index fd04b8233b3282..048c2b283d48b4 100644 --- a/Python/pylifecycle.c +++ b/Python/pylifecycle.c @@ -594,11 +594,10 @@ int _Py_InitializeMainInterpreter(const _PyMainInterpreterConfig *config) /* Finish setting up the sys module and import system */ /* GetPath may initialize state that _PySys_EndInit locks in, and so has to be called first. */ + /* TODO: Call Py_GetPath() in Py_ReadConfig, rather than here */ PySys_SetPath(Py_GetPath()); if (_PySys_EndInit(interp->sysdict) < 0) Py_FatalError("Py_InitializeMainInterpreter: can't finish initializing sys"); - /* TODO: Call Py_GetPath() in Py_ReadConfig, rather than here */ - PySys_SetPath(Py_GetPath()); initexternalimport(interp); /* initialize the faulthandler module */