Skip to content

Commit

Permalink
Fix unhashable list lib_path (#4899)
Browse files Browse the repository at this point in the history
From #4898. This should be cherry-picked into the 0.590 release. Apologies for the last minute bug!
  • Loading branch information
ethanhs authored and gvanrossum committed Apr 13, 2018
1 parent a25f2e6 commit 081a275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mypy/stubgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def find_module_path_and_all(module: str, pyversion: Tuple[int, int],
module_all = getattr(mod, '__all__', None)
else:
# Find module by going through search path.
module_path = mypy.build.FindModuleCache().find_module(module, ['.'] + search_path,
module_path = mypy.build.FindModuleCache().find_module(module, ('.',) + tuple(search_path),
interpreter)
if not module_path:
raise SystemExit(
Expand Down

0 comments on commit 081a275

Please sign in to comment.