##// END OF EJS Templates
osutil: use absolute_import
Gregory Szorc -
r27338:810337ae default
parent child Browse files
Show More
@@ -5,6 +5,8 b''
5 # This software may be used and distributed according to the terms of the
5 # This software may be used and distributed according to the terms of the
6 # GNU General Public License version 2 or any later version.
6 # GNU General Public License version 2 or any later version.
7
7
8 from __future__ import absolute_import
9
8 import os
10 import os
9 import stat as statmod
11 import stat as statmod
10
12
@@ -58,7 +60,8 b' def listdir(path, stat=False, skip=None)'
58 if os.name != 'nt':
60 if os.name != 'nt':
59 posixfile = open
61 posixfile = open
60 else:
62 else:
61 import ctypes, msvcrt
63 import ctypes
64 import msvcrt
62
65
63 _kernel32 = ctypes.windll.kernel32
66 _kernel32 = ctypes.windll.kernel32
64
67
@@ -122,7 +122,6 b''
122 mercurial/manifest.py not using absolute_import
122 mercurial/manifest.py not using absolute_import
123 mercurial/mdiff.py not using absolute_import
123 mercurial/mdiff.py not using absolute_import
124 mercurial/patch.py not using absolute_import
124 mercurial/patch.py not using absolute_import
125 mercurial/pure/osutil.py not using absolute_import
126 mercurial/pure/parsers.py not using absolute_import
125 mercurial/pure/parsers.py not using absolute_import
127 mercurial/pvec.py not using absolute_import
126 mercurial/pvec.py not using absolute_import
128 mercurial/py3kcompat.py not using absolute_import
127 mercurial/py3kcompat.py not using absolute_import
General Comments 0
You need to be logged in to leave comments. Login now