changeset 43476:949b4d545c90

color: suppress pytype warning on a windows-only module Differential Revision: https://phab.mercurial-scm.org/D7274
author Augie Fackler <augie@google.com>
date Wed, 06 Nov 2019 14:48:22 -0500
parents 9ce76155e0da
children 147576a4e6a2
files mercurial/color.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/color.py	Wed Nov 06 14:20:27 2019 -0500
+++ b/mercurial/color.py	Wed Nov 06 14:48:22 2019 -0500
@@ -435,7 +435,7 @@
 if pycompat.iswindows:
     import ctypes
 
-    _kernel32 = ctypes.windll.kernel32
+    _kernel32 = ctypes.windll.kernel32  # pytype: disable=module-attr
 
     _WORD = ctypes.c_ushort