Permalink
Browse files

dist_in_usersite explicitly returns False

  • Loading branch information...
1 parent 0aadda7 commit 2b9e9b4a1e40b80fd5cd93981ea7e974d4b13fb9 @qwcode committed Jun 11, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 pip/util.py
View
@@ -300,6 +300,8 @@ def dist_in_usersite(dist):
"""
if user_site:
return normalize_path(dist_location(dist)).startswith(normalize_path(user_site))
+ else:
+ return False
def get_installed_distributions(local_only=True, skip=('setuptools', 'pip', 'python')):

0 comments on commit 2b9e9b4

Please sign in to comment.