changeset 5163:b51d07ed1b18

demandimport: ignore pwd and grp. Both are unavailable under Windows and tarfile detects them via ImportError.
author Patrick Mezard <pmezard@gmail.com>
date Mon, 13 Aug 2007 19:42:52 +0200
parents 9374373fb727
children 1d5ebb0d366f
files mercurial/demandimport.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/demandimport.py	Mon Aug 13 19:42:50 2007 +0200
+++ b/mercurial/demandimport.py	Mon Aug 13 19:42:52 2007 +0200
@@ -108,7 +108,7 @@
                 setattr(mod, x, _demandmod(x, mod.__dict__, locals))
         return mod
 
-ignore = ['_hashlib', '_xmlplus', 'fcntl', 'win32com.gen_py']
+ignore = ['_hashlib', '_xmlplus', 'fcntl', 'win32com.gen_py', 'pwd', 'grp']
 
 def enable():
     "enable global demand-loading of modules"