From 74f0772892c85b6e7bdfa0f44a5ff89002b0734d Mon Sep 17 00:00:00 2001 From: Satish Pokala <49762924+Satishpokala124@users.noreply.github.com> Date: Fri, 27 Oct 2023 11:55:22 +0530 Subject: [PATCH] no-issue: Remove unused variable in getpath.py (gh-111372) --- Modules/getpath.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/Modules/getpath.py b/Modules/getpath.py index 9913fcba497d30..4391a6194c7e58 100644 --- a/Modules/getpath.py +++ b/Modules/getpath.py @@ -238,8 +238,6 @@ def search_up(prefix, *landmarks, test=isfile): # CALCULATE program_name # ****************************************************************************** -program_name_was_set = bool(program_name) - if not program_name: try: program_name = config.get('orig_argv', [])[0]