Mercurial > public > mercurial-scm > hg-stable
diff 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 |
line wrap: on
line diff
--- a/mercurial/win32.py Sat Aug 08 18:53:17 2015 -0700 +++ b/mercurial/win32.py Sat Aug 08 18:52:59 2015 -0700 @@ -5,7 +5,14 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -import ctypes, errno, msvcrt, os, subprocess, random +from __future__ import absolute_import + +import ctypes +import errno +import msvcrt +import os +import random +import subprocess _kernel32 = ctypes.windll.kernel32 _advapi32 = ctypes.windll.advapi32