aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/python3/src/Modules/main.c
diff options
context:
space:
mode:
authorAlexSm <alex@ydb.tech>2023-12-27 23:31:58 +0100
committerGitHub <noreply@github.com>2023-12-27 23:31:58 +0100
commitd67bfb4b4b7549081543e87a31bc6cb5c46ac973 (patch)
tree8674f2f1570877cb653e7ddcff37ba00288de15a /contrib/tools/python3/src/Modules/main.c
parent1f6bef05ed441c3aa2d565ac792b26cded704ac7 (diff)
downloadydb-d67bfb4b4b7549081543e87a31bc6cb5c46ac973.tar.gz
Import libs 4 (#758)
Diffstat (limited to 'contrib/tools/python3/src/Modules/main.c')
-rw-r--r--contrib/tools/python3/src/Modules/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/tools/python3/src/Modules/main.c b/contrib/tools/python3/src/Modules/main.c
index a78e3564a5..5d0094b67d 100644
--- a/contrib/tools/python3/src/Modules/main.c
+++ b/contrib/tools/python3/src/Modules/main.c
@@ -571,7 +571,7 @@ pymain_run_python(int *exitcode)
goto error;
}
}
- else if (!config->safe_path && 0) { // Do not add current directory.
+ else if (!config->safe_path) {
PyObject *path0 = NULL;
int res = _PyPathConfig_ComputeSysPath0(&config->argv, &path0);
if (res < 0) {