changeset 10242:ecd0a5c8bbe5 stable

demandimport: ignore _winreg (used in python-2.7 mimetypes)
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Wed, 13 Jan 2010 11:57:32 +0100
parents 9bf3ebdb19ae
children cd3e5c47d663
files mercurial/demandimport.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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',