From 9b8b9992264bae03bece47104f88827ae5cdfc0e Mon Sep 17 00:00:00 2001 From: Tzu-ping Chung Date: Thu, 26 Jul 2018 02:42:15 +0800 Subject: [PATCH] Fix missing arch arguments --- pipenv/vendor/pythonfinder/models/windows.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pipenv/vendor/pythonfinder/models/windows.py b/pipenv/vendor/pythonfinder/models/windows.py index 90f2d803d7..40dd93ede9 100644 --- a/pipenv/vendor/pythonfinder/models/windows.py +++ b/pipenv/vendor/pythonfinder/models/windows.py @@ -19,7 +19,7 @@ class WindowsFinder(BaseFinder): def find_all_python_versions(self, major=None, minor=None, patch=None, pre=None, dev=None, arch=None): version_matcher = operator.methodcaller( - "matches", major=major, minor=minor, patch=patch, pre=pre, dev=dev, arch=None + "matches", major=major, minor=minor, patch=patch, pre=pre, dev=dev, arch=arch ) py_filter = filter( None, filter(lambda c: version_matcher(c), self.version_list) @@ -30,7 +30,7 @@ def find_all_python_versions(self, major=None, minor=None, patch=None, pre=None, def find_python_version(self, major=None, minor=None, patch=None, pre=None, dev=None, arch=None): return next(( v for v in self.find_all_python_versions( - major=major, minor=minor, patch=patch, pre=pre, dev=dev, arch=None + major=major, minor=minor, patch=patch, pre=pre, dev=dev, arch=arch )), None )