win32: use absolute_import
authorGregory Szorc <gregory.szorc@gmail.com>
Sat, 08 Aug 2015 18:52:59 -0700
changeset 25994 d6beeb618700
parent 25993 0851678be71b
child 25998 a7527c5769bb
win32: use absolute_import
mercurial/win32.py
--- 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