Submitter | Kostia Balytskyi |
---|---|
Date | April 14, 2017, 7:38 p.m. |
Message ID | <8c3ee067eeb2337ea2a5.1492198712@devvm1416.lla2.facebook.com> |
Download | mbox | patch |
Permalink | /patch/20209/ |
State | Accepted |
Headers | show |
Comments
On Fri, 14 Apr 2017 12:38:32 -0700, Kostia Balytskyi wrote: > # HG changeset patch > # User Kostia Balytskyi <ikostia@fb.com> > # Date 1492198466 25200 > # Fri Apr 14 12:34:26 2017 -0700 > # Node ID 8c3ee067eeb2337ea2a51ed0d707f599a3aaa4c6 > # Parent 4c2c30bc38b4f84ce8f215146bbf158e299065b3 > windows: add win32com.shell to demandimport ignore list Queued, thanks. > Module 'appdirs' tries to import win32com.shell I've copied this to an inline comment.
Patch
diff --git a/mercurial/demandimport.py b/mercurial/demandimport.py --- a/mercurial/demandimport.py +++ b/mercurial/demandimport.py @@ -274,6 +274,7 @@ ignore = [ 'fcntl', 'nt', # pathlib2 tests the existence of built-in 'nt' module 'win32com.gen_py', + 'win32com.shell', '_winreg', # 2.7 mimetypes needs immediate ImportError 'pythoncom', # imported by tarfile, not available under Windows