1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00

Address Feedback from @ncoghlan

This commit is contained in:
Donald Stufft 2014-11-20 06:57:48 -05:00
parent 2d5ef69aa8
commit 86bad49818
2 changed files with 7 additions and 2 deletions

View file

@ -48,9 +48,14 @@ class VendorAlias(object):
__import__(name)
module = sys.modules[name]
finally:
# Re-add any additions to sys.meta_path that were made while
# during the import we just did, otherwise things like
# pip._vendor.six.moves will fail.
for m in sys.meta_path:
if m not in real_meta_path:
real_meta_path.append(m)
# Restore sys.meta_path with any new items.
sys.meta_path = real_meta_path
except ImportError:
# We can't import the vendor name, so we'll try to import the

View file

@ -116,7 +116,7 @@ if NO_VENDOR:
## ##
## This is not an officially supported option for end users and should ##
## only be used by downstream redistributors such as the various Linux ##
## distributions. This method of installation is as well tested by the ##
## pip team. ##
## distributions. This method of installation is not as well tested by ##
## the pip team. ##
###########################################################################
""")