Mercurial > hg-stable
diff mercurial/windows.py @ 14985:dbf91976f900
windows: eliminate win32 wildcard import
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Fri, 29 Jul 2011 00:39:27 +0200 |
parents | a3f97038c1c2 |
children | 5e44e4b3a0a3 |
line wrap: on
line diff
--- a/mercurial/windows.py Fri Jul 29 17:27:38 2011 -0500 +++ b/mercurial/windows.py Fri Jul 29 00:39:27 2011 +0200 @@ -9,6 +9,21 @@ import osutil import errno, msvcrt, os, re, sys +from win32 import executablepath +from win32 import getuser +from win32 import hidewindow +from win32 import lookupreg +from win32 import makedir +from win32 import nlinks +from win32 import oslink +from win32 import samedevice +from win32 import samefile +from win32 import setsignalhandler +from win32 import spawndetached +from win32 import termwidth +from win32 import testpid +from win32 import unlink + nulldev = 'NUL:' umask = 002 @@ -285,8 +300,6 @@ def isexec(f): return False -from win32 import * - class cachestat(object): def __init__(self, path): pass