Skip to content

Commit 74f0772

Browse files
no-issue: Remove unused variable in getpath.py (gh-111372)
1 parent 7f9a99e commit 74f0772

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Modules/getpath.py

-2
Original file line numberDiff line numberDiff line change
@@ -238,8 +238,6 @@ def search_up(prefix, *landmarks, test=isfile):
238238
# CALCULATE program_name
239239
# ******************************************************************************
240240

241-
program_name_was_set = bool(program_name)
242-
243241
if not program_name:
244242
try:
245243
program_name = config.get('orig_argv', [])[0]

0 commit comments

Comments
 (0)