##// END OF EJS Templates
windows: eliminate win32 wildcard import
Adrian Buehlmann -
r14985:dbf91976 default
parent child Browse files
Show More
@@ -9,6 +9,21 b' from i18n import _'
9 import osutil
9 import osutil
10 import errno, msvcrt, os, re, sys
10 import errno, msvcrt, os, re, sys
11
11
12 from win32 import executablepath
13 from win32 import getuser
14 from win32 import hidewindow
15 from win32 import lookupreg
16 from win32 import makedir
17 from win32 import nlinks
18 from win32 import oslink
19 from win32 import samedevice
20 from win32 import samefile
21 from win32 import setsignalhandler
22 from win32 import spawndetached
23 from win32 import termwidth
24 from win32 import testpid
25 from win32 import unlink
26
12 nulldev = 'NUL:'
27 nulldev = 'NUL:'
13 umask = 002
28 umask = 002
14
29
@@ -285,8 +300,6 b' def groupmembers(name):'
285 def isexec(f):
300 def isexec(f):
286 return False
301 return False
287
302
288 from win32 import *
289
290 class cachestat(object):
303 class cachestat(object):
291 def __init__(self, path):
304 def __init__(self, path):
292 pass
305 pass
@@ -7,6 +7,5 b''
7 mercurial/commands.py:*: 'mpatch' imported but unused (glob)
7 mercurial/commands.py:*: 'mpatch' imported but unused (glob)
8 mercurial/commands.py:*: 'osutil' imported but unused (glob)
8 mercurial/commands.py:*: 'osutil' imported but unused (glob)
9 hgext/inotify/linux/__init__.py:*: 'from _inotify import *' used; unable to detect undefined names (glob)
9 hgext/inotify/linux/__init__.py:*: 'from _inotify import *' used; unable to detect undefined names (glob)
10 mercurial/windows.py:*: 'from win32 import *' used; unable to detect undefined names (glob)
11
10
12
11
General Comments 0
You need to be logged in to leave comments. Login now