##// END OF EJS Templates
windows: use absolute_import
Gregory Szorc -
r27360:6daa795e default
parent child Browse files
Show More
@@ -5,11 +5,23 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 i18n import _
8 from __future__ import absolute_import
9 import osutil, encoding
10 import errno, msvcrt, os, re, stat, sys, _winreg
11
9
10 import _winreg
11 import errno
12 import msvcrt
13 import os
14 import re
15 import stat
16 import sys
12 import win32
17 import win32
18
19 from .i18n import _
20 from . import (
21 encoding,
22 osutil,
23 )
24
13 executablepath = win32.executablepath
25 executablepath = win32.executablepath
14 getuser = win32.getuser
26 getuser = win32.getuser
15 hidewindow = win32.hidewindow
27 hidewindow = win32.hidewindow
@@ -127,7 +127,6 b''
127 mercurial/scmutil.py not using absolute_import
127 mercurial/scmutil.py not using absolute_import
128 mercurial/scmwindows.py not using absolute_import
128 mercurial/scmwindows.py not using absolute_import
129 mercurial/store.py not using absolute_import
129 mercurial/store.py not using absolute_import
130 mercurial/windows.py not using absolute_import
131 setup.py not using absolute_import
130 setup.py not using absolute_import
132 tests/filterpyflakes.py requires print_function
131 tests/filterpyflakes.py requires print_function
133 tests/generate-working-copy-states.py requires print_function
132 tests/generate-working-copy-states.py requires print_function
General Comments 0
You need to be logged in to leave comments. Login now