Skip to content

Commit be9edb3

Browse files
authored
Remove unused python_path and related checks
1 parent 8d1c546 commit be9edb3

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/pipx/commands/common.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,6 @@ def get_package_summary(
213213
return (
214214
_get_list_output(
215215
python_version,
216-
python_path,
217216
package_metadata.package_version,
218217
package,
219218
new_install,
@@ -252,7 +251,6 @@ def _get_exposed_app_paths_for_package(
252251

253252
def _get_list_output(
254253
python_version: str,
255-
python_path: Path,
256254
package_version: str,
257255
package: str,
258256
new_install: bool,
@@ -268,9 +266,6 @@ def _get_list_output(
268266
f" {bold(package_version)}{suffix}, {python_version}"
269267
)
270268

271-
if not python_path.exists():
272-
output.append(f" associated python path {str(python_path)} does not exist!")
273-
274269
if new_install and exposed_binary_names:
275270
output.append(" These apps are now globally available")
276271
for name in exposed_binary_names:

0 commit comments

Comments
 (0)