-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update scandir to avoid importing from system lib
- Update lockfile with py2 deps Signed-off-by: Dan Ryan <dan@danryan.co>
- Loading branch information
1 parent
69ace95
commit 2caa9d7
Showing
4 changed files
with
66 additions
and
4 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
diff --git a/pipenv/vendor/scandir.py b/pipenv/vendor/scandir.py | ||
index 2e47a397..2b2ade30 100644 | ||
--- a/pipenv/vendor/scandir.py | ||
+++ b/pipenv/vendor/scandir.py | ||
@@ -26,10 +26,7 @@ import collections | ||
import os | ||
import sys | ||
|
||
-try: | ||
- import _scandir | ||
-except ImportError: | ||
- _scandir = None | ||
+_scandir = None | ||
|
||
try: | ||
import ctypes |