Fix when packages are unvendored
authorIan Cordasco <graffatcolmingov@gmail.com>
Sun, 1 Mar 2015 05:04:22 +0000 (23:04 -0600)
committerIan Cordasco <graffatcolmingov@gmail.com>
Sun, 1 Mar 2015 05:04:24 +0000 (23:04 -0600)
commit2669f0c0b1e98c9ea36d2614d48b07ad150ea276
treebdab07e5a7f6d12fb225bcec05e03f9a99700f3d
parent9d8a57f2a29de97682d85d71ea98354ac8223442
Fix when packages are unvendored

When working these changes back upstream to pip, we realized that the
previous fix wasn't ideal since unvendoring the packages broke the
imports. For example, if urllib3 were unvendored, then the following
would fail:

    from requests.packages import urllib3
requests/packages/__init__.py