demandimport: ignore _winreg (used in python-2.7 mimetypes) stable
authorDirkjan Ochtman <dirkjan@ochtman.nl>
Wed, 13 Jan 2010 11:57:32 +0100
branchstable
changeset 10242 ecd0a5c8bbe5
parent 10231 9bf3ebdb19ae
child 10243 cd3e5c47d663
demandimport: ignore _winreg (used in python-2.7 mimetypes)
mercurial/demandimport.py
--- a/mercurial/demandimport.py	Mon Jan 11 22:41:02 2010 +0100
+++ b/mercurial/demandimport.py	Wed Jan 13 11:57:32 2010 +0100
@@ -120,6 +120,7 @@
     '_xmlplus',
     'fcntl',
     'win32com.gen_py',
+    '_winreg', # 2.7 mimetypes needs immediate ImportError
     'pythoncom',
     # imported by tarfile, not available under Windows
     'pwd',