Mercurial > public > mercurial-scm > hg
comparison mercurial/win32.py @ 25994:d6beeb618700
win32: use absolute_import
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sat, 08 Aug 2015 18:52:59 -0700 |
parents | 328739ea70c3 |
children | 392633d7860e |
comparison
equal
deleted
inserted
replaced
25993:0851678be71b | 25994:d6beeb618700 |
---|---|
3 # Copyright 2005-2009 Matt Mackall <mpm@selenic.com> and others | 3 # Copyright 2005-2009 Matt Mackall <mpm@selenic.com> and others |
4 # | 4 # |
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 import ctypes, errno, msvcrt, os, subprocess, random | 8 from __future__ import absolute_import |
9 | |
10 import ctypes | |
11 import errno | |
12 import msvcrt | |
13 import os | |
14 import random | |
15 import subprocess | |
9 | 16 |
10 _kernel32 = ctypes.windll.kernel32 | 17 _kernel32 = ctypes.windll.kernel32 |
11 _advapi32 = ctypes.windll.advapi32 | 18 _advapi32 = ctypes.windll.advapi32 |
12 _user32 = ctypes.windll.user32 | 19 _user32 = ctypes.windll.user32 |
13 | 20 |