Skip to content

Commit

Permalink
Fix missing arch arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
uranusjr committed Jul 25, 2018
1 parent de8ddb0 commit 9b8b999
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pipenv/vendor/pythonfinder/models/windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
)

Expand Down

0 comments on commit 9b8b999

Please sign in to comment.