Mercurial > public > mercurial-scm > hg-stable
diff mercurial/packagescan.py @ 1308:2073e5a71008
Cleanup of tabs and trailing spaces.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Wed, 21 Sep 2005 07:56:19 +0200 |
parents | f5faab34f32e |
children | 7f12a63568ae |
line wrap: on
line diff
--- a/mercurial/packagescan.py Tue Sep 20 21:35:51 2005 -0700 +++ b/mercurial/packagescan.py Wed Sep 21 07:56:19 2005 +0200 @@ -1,4 +1,4 @@ -# packagescan.py - Helper module for identifing used modules. +# packagescan.py - Helper module for identifing used modules. # Used for the py2exe distutil. # # Copyright 2005 Volker Kleinfeld <Volker.Kleinfeld@gmx.de> @@ -26,9 +26,9 @@ libpath = os.path.abspath(libpath) sys.path.insert(0,libpath) packdir = os.path.join(libpath,packagename) - # A normal import would not find the package in + # A normal import would not find the package in # the build directory. ihook is used to force the import. - # After the package is imported the import scope for + # After the package is imported the import scope for # the following imports is settled. p = importfrom(packdir) globals()[packagename] = p @@ -46,7 +46,7 @@ if m == '__init__.py': continue tmp = {} mname,ext = os.path.splitext(m) - fullname = packagename+'.'+mname + fullname = packagename+'.'+mname __import__(fullname,tmp,tmp) requiredmodules[fullname] = 1 # Import all extension modules and by that run the fake demandload