Skip to content

Commit c3bee60

Browse files
hooks.hook_six: fix arguments in SixImporter initialization
1 parent 7abbd00 commit c3bee60

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

py2exe/hooks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ def __getattr__(self, name):
347347
raise AttributeError(name)
348348

349349
m = SixImporter(finder,
350-
"six.moves", None, finder._optimize)
350+
"six.moves", file=None, path=None, optimize=finder._optimize)
351351
finder._add_module("six.moves", m)
352352

353353
def hook_infi(finder, module):

0 commit comments

Comments
 (0)