From 7c220ccdd4145b79d0490338eee3d27cbec44eda Mon Sep 17 00:00:00 2001 From: Mathis Date: Fri, 23 Feb 2018 23:51:09 +0800 Subject: [PATCH] scrub path when not inheriting (#449) --- pex/pex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pex/pex.py b/pex/pex.py index 0561ccf4f..112fa5ce9 100644 --- a/pex/pex.py +++ b/pex/pex.py @@ -206,7 +206,7 @@ def all_distribution_paths(path): user_site_distributions.update(all_distribution_paths(USER_SITE)) - if not inherit_path: + if inherit_path == 'false': scrub_paths = site_distributions | user_site_distributions for path in user_site_distributions: TRACER.log('Scrubbing from user site: %s' % path)