equal
deleted
inserted
replaced
15 import sys |
15 import sys |
16 |
16 |
17 from .i18n import _ |
17 from .i18n import _ |
18 from . import ( |
18 from . import ( |
19 encoding, |
19 encoding, |
20 osutil, |
20 policy, |
21 pycompat, |
21 pycompat, |
22 win32, |
22 win32, |
23 ) |
23 ) |
24 |
24 |
25 try: |
25 try: |
26 import _winreg as winreg |
26 import _winreg as winreg |
27 winreg.CloseKey |
27 winreg.CloseKey |
28 except ImportError: |
28 except ImportError: |
29 import winreg |
29 import winreg |
|
30 |
|
31 osutil = policy.importmod(r'osutil') |
30 |
32 |
31 executablepath = win32.executablepath |
33 executablepath = win32.executablepath |
32 getuser = win32.getuser |
34 getuser = win32.getuser |
33 hidewindow = win32.hidewindow |
35 hidewindow = win32.hidewindow |
34 makedir = win32.makedir |
36 makedir = win32.makedir |