# HG changeset patch # User Gregory Szorc # Date 2015-08-09 01:52:59 # Node ID d6beeb618700184e6947c5666c29e7c4e561984d # Parent 0851678be71b0a1e82f91060f05195b73af59ec0 win32: use absolute_import diff --git a/mercurial/win32.py b/mercurial/win32.py --- a/mercurial/win32.py +++ b/mercurial/win32.py @@ -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