From e4c587c4dfb4fe053dbc3f1f99232735603d06c5 Mon Sep 17 00:00:00 2001 From: Satishpokala124 Date: Fri, 27 Oct 2023 01:05:30 +0530 Subject: [PATCH] Remove unused variable in getpath.py --- 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]