[PATCH 1 of 3] windows: correct the import of win32

Matt Harbison matt_harbison at yahoo.com
Wed Dec 16 16:32:50 CST 2015


# HG changeset patch
# User Matt Harbison <matt_harbison at yahoo.com>
# Date 1450290823 18000
#      Wed Dec 16 13:33:43 2015 -0500
# Node ID 392e4dc34d8b8854cc79817492f4c5e53714752d
# Parent  7e8a883da1711008262150bb6f64131812de3e0b
windows: correct the import of win32

This module is relative, and was overlooked when converting to absolute_import
in 6daa795ed32f.

diff --git a/mercurial/windows.py b/mercurial/windows.py
--- a/mercurial/windows.py
+++ b/mercurial/windows.py
@@ -14,12 +14,12 @@
 import re
 import stat
 import sys
-import win32
 
 from .i18n import _
 from . import (
     encoding,
     osutil,
+    win32,
 )
 
 executablepath = win32.executablepath


More information about the Mercurial-devel mailing list