mercurial/pycompat.py
changeset 43768 fe73ec69350e
parent 43506 9f70512ae2cf
child 43773 7b14d649af1b
--- a/mercurial/pycompat.py	Sat Nov 23 16:54:59 2019 -0800
+++ b/mercurial/pycompat.py	Fri Nov 22 23:55:57 2019 -0500
@@ -99,7 +99,7 @@
         # Otherwise non-ASCII filenames in existing repositories would be
         # corrupted.
         # This must be set once prior to any fsencode/fsdecode calls.
-        sys._enablelegacywindowsfsencoding()
+        sys._enablelegacywindowsfsencoding()  # pytype: disable=module-attr
 
     fsencode = os.fsencode
     fsdecode = os.fsdecode